Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring - OOP: Data containers #8

Open
Tracked by #3
miroslavpojer opened this issue May 21, 2024 · 0 comments
Open
Tracked by #3

Refactoring - OOP: Data containers #8

miroslavpojer opened this issue May 21, 2024 · 0 comments
Assignees
Labels
refactoring Improving code quality, paying off tech debt, aligning APIs

Comments

@miroslavpojer
Copy link
Collaborator

miroslavpojer commented May 21, 2024

  • extract / change known data structures to specific custom data containers
  • possible for Dict[str, List[str]] in return type for convert_field_options_to_dict
  • example:
from dataclasses import dataclass

@dataclass
class Repository:
    orgName: str
    repoName: str
    queryLabels: List[str]
@MobiTikula MobiTikula self-assigned this May 27, 2024
@MobiTikula MobiTikula added refactoring Improving code quality, paying off tech debt, aligning APIs labels May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Improving code quality, paying off tech debt, aligning APIs
Projects
None yet
Development

No branches or pull requests

2 participants