-
Notifications
You must be signed in to change notification settings - Fork 82
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
modularization: Datasets modularization pt.2 #432
Merged
nikpodsh
merged 39 commits into
data-dot-all:modularization-main
from
nikpodsh:datasets-mod-part2
May 2, 2023
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
3a5e0de
Initialization of dataset module
nikpodsh a50a02f
Refactoring of datasets
nikpodsh be14986
Refactoring of datasets
nikpodsh 06f82ad
Refactoring of datasets
nikpodsh 38145ae
Fixed leftover in loader
nikpodsh f0e146a
Dataset refactoring
nikpodsh b039163
Dataset refactoring
nikpodsh b7922ed
Dataset refactoring
nikpodsh 1771bca
Notebooks doesn't require tasks
nikpodsh 3d1603f
Renamed tasks to handlers
nikpodsh fb6b515
Dataset refactoring
nikpodsh e3596a5
Dataset refactoring
nikpodsh 3af2ecf
Dataset refactoring
nikpodsh 1a063b2
Dataset refactoring
nikpodsh b733714
Dataset refactoring
nikpodsh 2a4e2e0
Extracted feed registry
nikpodsh c15d090
Extracted feed and glossary registry and created a model registry
nikpodsh 052a2b1
Dataset refactoring
nikpodsh d984483
Fixed and unignored test_tables_sync
nikpodsh dc0c935
Split model registry into feed and glossaries
nikpodsh 727e353
Abstraction for glossaries
nikpodsh 49fbb41
Fixed leftovers
nikpodsh 7d029e7
Datasets refactoring
nikpodsh be527eb
Added runtime type registration for Union GraphQL type
nikpodsh 3daf2aa
Changed Feed type registration mechanism
nikpodsh db3bfd3
Added TODO for future refactoring
nikpodsh 13b6e92
Added GlossaryRegistry for Union scheme
nikpodsh 144dfea
Changed import in redshift module
nikpodsh d43b9b3
No need for Utils yet
nikpodsh 39b244c
Fixed linting
nikpodsh cb3800a
Datasets refactoring
nikpodsh dd8e597
Datasets refactoring
nikpodsh 8ca7bea
Datasets refactoring
nikpodsh e36ab3b
Datasets refactoring
nikpodsh 31720c2
Datasets refactoring
nikpodsh 8a907df
Datasets refactoring
nikpodsh 561da72
Datasets refactoring
nikpodsh 47a38cc
Datasets refactoring
nikpodsh 2ac3ae7
Resolved code conflict
nikpodsh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,6 @@ | |
Test, | ||
SagemakerStudio, | ||
RedshiftCluster, | ||
DatasetProfiling, | ||
Glossary, | ||
AthenaQueryResult, | ||
Worksheet, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
"""The GraphQL schema of datasets and related functionality""" | ||
from dataall.modules.datasets.api import ( | ||
table_column | ||
table_column, | ||
profiling | ||
) | ||
|
||
__all__ = ["table_column"] | ||
__all__ = ["table_column", "profiling"] |
2 changes: 1 addition & 1 deletion
2
.../api/Objects/DatasetProfiling/__init__.py → ...odules/datasets/api/profiling/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from . import ( | ||
from dataall.modules.datasets.api.profiling import ( | ||
input_types, | ||
mutations, | ||
queries, | ||
|
2 changes: 1 addition & 1 deletion
2
...i/Objects/DatasetProfiling/input_types.py → ...les/datasets/api/profiling/input_types.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 5 additions & 2 deletions
7
...api/Objects/DatasetProfiling/mutations.py → ...dules/datasets/api/profiling/mutations.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 7 additions & 2 deletions
9
...l/api/Objects/DatasetProfiling/queries.py → ...modules/datasets/api/profiling/queries.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ll/api/Objects/DatasetProfiling/schema.py → .../modules/datasets/api/profiling/schema.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did we change the naming convention? api graphql Objects were capitalized before right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's correct and if you think it should remain the existing way please let me know.
I thought that this modularization is a good opportunity to start following the python convention ( underscore instead of capitalized).
But as I said if you feel that it's not correct (or capitalized is a unique style of data.all :)) I will return it back