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
I'm unable to call this endpoint resulting in the following error:
schema.exception.SchemaException: Schema name "async_liemd_ligand_request" with type
"endpoint", and version "1" on "mdgroup/lie_md" was not found
When I change the request endpoint name from 'liemd_ligand_request' to 'async_liemd_ligand_request' thus matching the endpoint name and making sure the associated JSON schema file is available the call to the endpoint works again.
I think is undesirable behaviour as:
It seems that the second and perhaps even the third argument in the endpoint decorator have no
use if they need to be the same as the endpoint name (first argument).
It prevents JSON schema reuse in endpoints. In this case the request schema is equal to, and should
be shared with, the non async version of the endpoint ('liemd_ligand')
The text was updated successfully, but these errors were encountered:
Take the following endpoint decorator as example:
@endpoint('async_liemd_ligand', 'liemd_ligand_request', 'async_liemd_response',
options=RegisterOptions(invoke='roundrobin'))
I'm unable to call this endpoint resulting in the following error:
schema.exception.SchemaException: Schema name "async_liemd_ligand_request" with type
"endpoint", and version "1" on "mdgroup/lie_md" was not found
When I change the request endpoint name from 'liemd_ligand_request' to 'async_liemd_ligand_request' thus matching the endpoint name and making sure the associated JSON schema file is available the call to the endpoint works again.
I think is undesirable behaviour as:
use if they need to be the same as the endpoint name (first argument).
be shared with, the non async version of the endpoint ('liemd_ligand')
The text was updated successfully, but these errors were encountered: