Skip to content

Feature: Exporter#7

Merged
avisionh merged 4 commits intomainfrom
feature/exporter
May 24, 2021
Merged

Feature: Exporter#7
avisionh merged 4 commits intomainfrom
feature/exporter

Conversation

@avisionh
Copy link
Owner

@avisionh avisionh commented May 24, 2021

Summary

This branch creates functions that reformats and exports the dictionaries outputted by the Extractor class so it can then be exported into neo4j. It then brings the code together so you can extract and export table dependencies from a set of SQL scripts into the neo4j/ subdirectory.

Changes

The high-level changes made in this PR are:

  1. Writes functions that reformats and exports table dependencies into a subdirectory.
  2. Creates a module to be run in the command line that runs the extractor and exporter code.

Please see the commit history for more detailed changes.


Check

  • You can run the module by running the instructions in the README.
  • The test suite passes via running the below:
python -m pytest tests/
  • The GitHub Actions checks pass.

avisionh added 4 commits May 23, 2021 21:06
This is so we can reformat suitably for neo4j.
This is so we can assign labels to nodes based on the dataset.
This is so we can uniquely identify nodes and relationships when exporting to neo4j.
This is so we can combine all the code we've written thus far into a module that can be run from the command line.

Update README.md with new instructions for extracting table dependencies.
@avisionh avisionh changed the title Feature/exporter Feature: Exporter May 24, 2021
@avisionh avisionh merged commit d365328 into main May 24, 2021
@avisionh avisionh deleted the feature/exporter branch May 24, 2021 07:19
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.

1 participant