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

Python: Add Schema class #4318

Merged
merged 23 commits into from
Apr 4, 2022
Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
f27f181
Add Schema class
samredai Mar 13, 2022
7cd8b96
Use Enum for field_identifier_type typehint and set default value to …
samredai Mar 13, 2022
d8b79a7
Add return typehints
samredai Mar 13, 2022
72e7ab7
Add IndexById and IndexByName schema visitors
samredai Mar 14, 2022
933fdf8
Add return types, remove enum no longer used
samredai Mar 14, 2022
4d81238
Consolidate import if statements
samredai Mar 15, 2022
7007ea1
Rename find_field_type to find_field_type_by_id
samredai Mar 15, 2022
f89a730
Add a __len__ method for Schema
samredai Mar 15, 2022
2b6454c
Fixing docstring examples to pass doctests
samredai Mar 25, 2022
1333815
Port schema and visitor from partition spec PR
samredai Mar 28, 2022
b06783d
Use __str__ from other implementation
samredai Mar 28, 2022
71a24f9
Removing singledispatch imports, no longer used
samredai Mar 28, 2022
40019fc
Adding Schema methods
samredai Mar 28, 2022
373c89a
Making Schema an ABC class (avoids confusing mypy by returning None)
samredai Mar 28, 2022
c163b76
Add temporary pin for click
samredai Mar 28, 2022
90ea3bf
Add index_by_name and clean up tests
samredai Mar 30, 2022
bffd182
Adding ASF headers
samredai Mar 30, 2022
d957c9b
Add schema_id and identifier_field_ids Schema properties
samredai Mar 30, 2022
4743588
Schema: lazily generate id_index, generate name_index during init
samredai Mar 31, 2022
338304a
Adding a couple missing return typehints
samredai Mar 31, 2022
48cf967
Adding back singledispatch to install_requires
samredai Mar 31, 2022
46f486b
Incorporate PR feedback
samredai Apr 4, 2022
8ccfca4
Raise NotImplementedError for find_column_name
samredai Apr 4, 2022
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
Loading