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

test table inference, fix imports/paths, and move odm #247

Merged
merged 6 commits into from
Jan 15, 2025
Merged

Conversation

zargot
Copy link
Collaborator

@zargot zargot commented Jan 10, 2025

fixes #246

@zargot zargot requested a review from yulric January 10, 2025 14:50
@zargot zargot changed the base branch from main to dev January 10, 2025 14:55
@zargot zargot marked this pull request as draft January 10, 2025 15:18
@zargot zargot force-pushed the 246-table-infer branch 2 times, most recently from 694718e to ccd5601 Compare January 14, 2025 15:41
@zargot zargot marked this pull request as ready for review January 14, 2025 15:41
@zargot zargot marked this pull request as draft January 14, 2025 15:42
@zargot zargot force-pushed the 246-table-infer branch 5 times, most recently from 54fc68f to bbb1446 Compare January 14, 2025 16:58
@zargot zargot marked this pull request as ready for review January 14, 2025 17:00
@zargot zargot changed the title refactor and test table inference fix imports and paths, move odm, test table inference Jan 14, 2025
@zargot zargot changed the title fix imports and paths, move odm, test table inference test table inference, fix imports and paths, and move odm Jan 14, 2025
@zargot zargot changed the title test table inference, fix imports and paths, and move odm test table inference, fix imports/paths, and move odm Jan 14, 2025
- move schema functions to schema module (to avoid circular dependency
  between utils and schemas)
- cleanup test imports
- remove remnants of sys path hack
tests can't access repo-assets from normal pkg/asset dir path when the
package is installed (in dev. mode, in CI)
- add generated odm table files for table inference to avoid dependency
  between our validation schemas and the odm-specific table inference
- move all odm-related constants and functions to its own module,
  including table inference
- rename generate_schemas.py to generate_assets.py, since it now
  generates more than just schemas
@zargot zargot merged commit ac3e721 into dev Jan 15, 2025
3 checks passed
@zargot zargot deleted the 246-table-infer branch January 15, 2025 23:10
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.

check that all valid table names are inferred correctly
2 participants