[ https://issues.apache.org/jira/browse/NIFI-4812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Chaffelson updated NIFI-4812: ------------------------------------ Description: Using the Swagger Generated Python Client. When the delete_registry_client command is called from the ControllerApi(), the arguments expected by NiFi (id, version) and the arguments allowed by swagger (id only) do not match, resulting in a failure. {code:java} ControllerApi().delete_registry_client(test_client.id) HTTP response body: The revision must be specified. ControllerApi().delete_registry_client(test_client.id, test_client.revision) TypeError: delete_registry_client() takes exactly 2 arguments (3 given) {code} was: Using the Swagger Generated Python Client. When the delete_registry_client command is called from the ControllerApi(), the arguments expected by NiFi (id, revision) and the arguments allowed by swagger (id only) do not match, resulting in a failure. {code:java} ControllerApi().delete_registry_client(test_client.id) HTTP response body: The revision must be specified. ControllerApi().delete_registry_client(test_client.id, test_client.revision) TypeError: delete_registry_client() takes exactly 2 arguments (3 given) {code} > delete_registry_client call only accepts ID, but endpoint also expects > Revision > ------------------------------------------------------------------------------- > > Key: NIFI-4812 > URL: https://issues.apache.org/jira/browse/NIFI-4812 > Project: Apache NiFi > Issue Type: Bug > Components: Core Framework, Flow Versioning > Affects Versions: 1.5.0, 1.6.0 > Reporter: Daniel Chaffelson > Priority: Minor > > Using the Swagger Generated Python Client. > When the delete_registry_client command is called from the ControllerApi(), > the arguments expected by NiFi (id, version) and the arguments allowed by > swagger (id only) do not match, resulting in a failure. > {code:java} > ControllerApi().delete_registry_client(test_client.id) > HTTP response body: The revision must be specified. > ControllerApi().delete_registry_client(test_client.id, test_client.revision) > TypeError: delete_registry_client() takes exactly 2 arguments (3 given) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)