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

Fixes #99 (logging object contents when None #101

Merged
merged 3 commits into from
Oct 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,9 @@ dist
schema_automator.egg-info/*
tmp/
__pycache__
.idea/
*.pyc
tests/outputs/*
venv/
target/
local/
2 changes: 1 addition & 1 deletion schema_automator/generalizers/csv_data_generalizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def convert_multiple(self, files: List[str], **kwargs) -> SchemaDefinition:
s = self.convert(file, class_name=c, **kwargs)
if s is not None:
schemas.append(s)
logging.info(f'Classes={list(s.classes.keys())}')
logging.info(f'Classes={list(s.classes.keys())}')
sv = SchemaView(schemas[0])
for s in schemas[1:]:
sv.merge_schema(s)
Expand Down