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

feat(breadbox): Split out higher level functions into service layer #169

Merged
merged 3 commits into from
Jan 16, 2025

Conversation

pgm
Copy link
Contributor

@pgm pgm commented Jan 15, 2025

Creating datasets and dimension_types (matrix and tabular) went into service.datasets to avoid circular imports.

Functions related to search went into service.search.

Also renamed types.py to dimension_types.py to avoid the confusion between dimension_types and data_types

pgm added 3 commits January 14, 2025 21:04
creating datasets and dimension_types (matrix and tabular) went into service.datasets
to avoid circular imports.

Functions related to search went into service.search.
This is to avoid the confusion between dimension_types and data_types
They're old typing errors but due to virtue of renaming dimension_types.py
they're no longer grandfathered in.
@pgm pgm requested a review from snwessel January 15, 2025 13:30
Copy link
Member

@snwessel snwessel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! I think this is much-improved organization

types.py: error: Cannot assign to attribute "dataset_id" for class "DimensionType"
types.py: error: Expression of type "IdMapping" is incompatible with declared type "Json[IdMappingInsanity] | None"
types.py: error: Expression of type "None" cannot be assigned to parameter of type "Dict[str, AnnotationType]"
types.py: error: No overloads for "rename" match the provided arguments
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So many fixed errors! 🥳

@pgm pgm merged commit 09a7cd2 into move-references-fk Jan 16, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants