-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I have encountered an issue similar to #441: there are still two schema fields where the DEFAULT value is being inserted into the Python client generated using OpeAPI generator. This causes errors when trying to use the client:
ncbi/datasets/openapi/models/v2_assembly_links_reply_assembly_link.py:31: in V2AssemblyLinksReplyAssemblyLink
assembly_link_type: Optional[V2AssemblyLinksReplyAssemblyLinkType] = DEFAULT
E NameError: name 'DEFAULT' is not defined
I am not very familiar with the OpenAPI schemas but from what I see in the Python client, those fields are:
V2AssemblyLinksReplyAssemblyLinkTypeV2GeneLinksReplyGeneLinkType
To Reproduce
- follow the client generation instructions from the documentation (I tried with Python)
- install the client, e.g.:
pip install . pytest - run the tests (from the same working directory), e.g.:
pytest .
Expected behavior
Tests pass.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working