Maxime Lavoie
11/09/2021, 8:00 PM"oneOf": [{…}, {…}]
type structure?
I’ve tried different approaches and the closest I got was an "anyOf": [{…},{…}]
structure using account_ids: Union[AccountConfigStrategy1, AccountConfigStrategy2] = Field(...)
accounts
property in the source-bing-ads spec but declared as a pydantic model instead of a json file.
https://github.com/airbytehq/airbyte/blob/master/airbyte-integrations/connectors/source-bing-ads/source_bing_ads/spec.json#L23user
11/09/2021, 8:25 PMuser
11/10/2021, 6:12 AMuser
11/10/2021, 6:13 AMOptional
or Option
? What would be the import statement for Option
I can’t seem to find it.