Skip to content

[Schema Registry] bug bash - single method doesn't take logging_enable keyword argument #21462

@yunhaoling

Description

@yunhaoling

when calling register_schema with logging_enable:

properties = schema_registry_client.register_schema(GROUP_NAME, "testnew", SCHEMA_STRING, "avro", logging_enable=True)

it throws:

Traceback (most recent call last):
  File "D:\Projects\azure-sdk-for-python\sdk\schemaregistry\azure-schemaregistry\bugbash\bugbash.py", line 74, in <module>
    properties = schema_registry_client.register_schema(GROUP_NAME, "testnew", SCHEMA_STRING, "avro", logging_enable=True)
  File "C:\Users\yuling\Anaconda3\envs\srbugbash\lib\site-packages\azure\schemaregistry\_schema_registry_client.py", line 117, in register_schema
    request = schema_rest.build_register_request(
  File "C:\Users\yuling\Anaconda3\envs\srbugbash\lib\site-packages\azure\schemaregistry\_generated\rest\schema\_request_builders_py3.py", line 185, in build_register_request
    return HttpRequest(
  File "C:\Users\yuling\Anaconda3\envs\srbugbash\lib\site-packages\azure\core\rest\_rest_py3.py", line 122, in __init__
    raise TypeError(
TypeError: You have passed in kwargs 'logging_enable' that are not valid kwargs.

because keyword argument is not passed properly

Metadata

Metadata

Labels

ClientThis issue points to a problem in the data-plane of the library.MessagingMessaging crewSchema Registryblocking-releaseBlocks release

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions