-
Notifications
You must be signed in to change notification settings - Fork 129
validating schema in discovery mode #56
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
Open
nick-mccoy
wants to merge
33
commits into
master
Choose a base branch
from
validating_schema_in_discovery_mode
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
23b316c
Adding time_extracted and bookmark_properties
1d0416c
Adding commas to fix error
3524f40
Fixing space errors
90cc986
Fixing pylint warnings
9cbdfa2
validating schema in discovery mode
25b19d2
Check for time_extracted being an aware datetime and ensure timezone …
d297a0e
Fixing pylint errors
247d4d3
Wrapping up
e56e488
Pylint
c53912f
import pytz
ccapurso 7db81df
handle string or array bookmark_properties
ccapurso 42fe69a
allow bookmark_properties to be None
ccapurso ea4b5ba
Merge pull request #55 from singer-io/time_extracted_and_bookmark_pro…
ccapurso 1b1f32c
bump version to 5.0.0
ccapurso 5a89d5d
move bookmark property handling from write_schema into SchemaMessage …
555c6ca
Merge pull request #57 from singer-io/fix/initialize-bookmark-propert…
nick-mccoy d3dd5ba
bump version to 5.0.1
231dd45
Forcing SchemaMessage so that bookmark_properties is always an array
23c389d
Pylint fix
69f56bf
Merge pull request #58 from singer-io/make_bookmark_properties_list
nick-mccoy bdbd776
Bumping singer-python version to 5.0.2 and deploying
65bda5b
Add metadata assignment to Catalog.from_dict. Update test_catalog wit…
flash716 219b8eb
Add stream_alias to Catalog.to_dict. Add to unit test.
flash716 c5182e9
Merge pull request #61 from flash716/stream-alias
nick-mccoy 13275d8
Merge pull request #60 from flash716/catalog-metadata
nick-mccoy be8b565
changing strftime format string
215171b
fixing strftime format string
16b53f3
Merge pull request #63 from singer-io/fix_strftime_format
nick-mccoy cdbf7ed
bumping version
89c6466
validating schema in discovery mode
4411df5
Rebasing validating_schema_in_discovery_mode with master
c8c507b
pylint
b82f0f1
pylint fixes
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you might want to add
"additionalProperties": false
here and in the other nested object in this schema. If you don't the validator will allow objects with other properties. I guess it depends on how strict we want to be in this validation. @cmerrick what are your thoughts on that?