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

Organize data model files under cartography.models #1096

Merged
merged 3 commits into from
Feb 2, 2023
Merged

Conversation

achantavy
Copy link
Contributor

@achantavy achantavy commented Jan 23, 2023

As discussed on https://lyftoss.slack.com/archives/CTZUQL0KX/p1674037104828659: it'd be easier to discover schemas and other data types if they are located in one place.

  • Node-related objects in cartography/graph/model are moved to cartography/models/nodes.py
  • Relationship-related objects in cartography/graph/model.py are moved to cartography/models/relationships.py
  • Objects and functions applicable to both are moved to cartography/models/common.py
  • Model objects for cartography/intel/aws/emr.py are moved to cartography/models/aws/emr.py (thankfully there is only one real file to refactor here since we're catching this early enough).

@achantavy achantavy changed the title Organize model files under cartography.models Organize data model files under cartography.models Jan 23, 2023
@achantavy
Copy link
Contributor Author

cc: @resilience-jychp

@achantavy achantavy merged commit 82e1dd0 into master Feb 2, 2023
@achantavy achantavy deleted the modelsbranch branch February 2, 2023 17:20
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.

None yet

2 participants