mgnipy.V2.endpoints module

mgnipy.V2.endpoints module#

Configuration for MGnify API V2 to emgapi_v2_client endpoints. Mapping of API endpoints to corresponding emgapi_v2_client module, also relationships between endpoints (e.g., within resource [Study List -> Study Detail] and between resources [Study Detail -> Study Samples]).

Ideally, only this endpoints.py file (and mgnipy._models.constants.CONSTANTS) should need to be updated if any endpoints added or removed from the API and emgapi_v2_client re-installed via ./autogen_clients.sh.