-
Notifications
You must be signed in to change notification settings - Fork 76
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
Updating singer_stream.py to allow schemas without properties #220
base: master
Are you sure you want to change the base?
Conversation
While utilizing tap-zendesk (https://github.com/twilio-labs/twilio-tap-zendesk) there are some cases where the generated schema does not include a `properties` key in the dictionary, causing the `properties = self.schema['properties']` to fail. Given that there is nothing returned from this function, returning early appears to resolve it.
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.
What do you think of the approach below instead?
Quick sense-check on this, is the absence of |
Updating dependencies
update arrow dep
fix type
@lucas would you be able to merge the main branch into this PR to switch to the new dependency management format (pyproject.toml)? |
While utilizing tap-zendesk (https://github.com/twilio-labs/twilio-tap-zendesk) there are some cases where the generated schema does not include a
properties
key in the dictionary, causing theproperties = self.schema['properties']
to fail.Defaulting properties to an empty dictionary to prevent exception in these cases without unintended side effects.