Skip to content

Add ZMS ZMC Python Client Code

Bo Pearce requested to merge zms-zmc-client into main

This PR introduces a ZmsZmcClient class that encapsulates the functionality of the OpenAPI generated client code, providing a simpler interface for accessing its functionality.

Additionally, adds CLI functionality via Click within zms_zmc_cli.py. The GET and DELETE operations click commands are generated dynamically via the ZmsZmcClient class. The POST/PUT operations were added manually as generating them dynamically led to typing issues between click and the OpenAPI generated code, and found it was more trouble than it was worth.

Merge request reports