You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function in a tap stream. I return a json schema directly (e.g. I am not using the PropertiesList utility to help me).
Ideally I would like to make every field on my schema required (aka guaranteed) so downstreams can depend on them.
In fact, this is even something that is done in an example in the singer spec: https://hub.meltano.com/singer/spec#messages
However, when returning that schema, the required attribute is stripped from it internally, making it impossible to have fields be required.
Singer SDK Version
0.6.1
Python Version
3.10
Bug scope
Taps (catalog, state, stream maps, etc.)
Operating System
MacOS
Description
I override the;
function in a tap stream. I return a json schema directly (e.g. I am not using the PropertiesList utility to help me).
Ideally I would like to make every field on my schema required (aka guaranteed) so downstreams can depend on them.
In fact, this is even something that is done in an example in the singer spec: https://hub.meltano.com/singer/spec#messages
However, when returning that schema, the required attribute is stripped from it internally, making it impossible to have fields be required.
I believe the root cause is that this class forbids it: https://github.com/transferwise/pipelinewise-singer-python/blob/da64a10cdbcad48ab373d4dab3d9e6dd6f58556b/singer/schema.py#L108.
as was the case with this ticket: #332
Code
No response
The text was updated successfully, but these errors were encountered: