This commit is contained in:
2025-06-30 15:09:41 +03:00
parent caf367262c
commit 9f2c3dc81e
50 changed files with 589 additions and 214 deletions

View File

@@ -15,6 +15,7 @@ from tests.conftest import SDKFunction
expected_inconsistencies: list[str] = [
'cloudapi.user.get_audit: result type must be child of BaseAPIParamsNestedModel.', # noqa: E501
'cloudapi.disks.limit_io: API has parameter "iops" but this SDK function doesn\'t have corresponding parameter.', # noqa: E501
'cloudapi.image.list: API has parameter "architecture" but this SDK function doesn\'t have corresponding parameter.', # noqa: E501
'cloudapi.bservice.group_stop: default value of parameter "force" must be None.', # noqa: E501
@@ -23,10 +24,7 @@ expected_inconsistencies: list[str] = [
'cloudapi.bservice.delete: annotation of parameter "permanently" must be Union.', # noqa: E501
'cloudapi.compute.net_attach: result type must be child of BaseAPIResultBool.', # noqa: E501
'cloudapi.compute.net_attach: default value of parameter "mtu" must be 1500.', # noqa: E501
'''cloudapi.compute.update: parameter "cpu_pin", target_annotation = None | bool, expected_annot = <class 'bool'>''', # noqa: E501
'cloudapi.disks.create: default value of parameter "size_gb" must be 10.',
'''cloudapi.disks.create: API has parameter "ssdSize" but this SDK function doesn't have corresponding parameter.''', # noqa: E501
'cloudbroker.account.create: annotation of parameter "uniq_pools" must contain int.', # noqa: E501
'cloudapi.kvmx86.create: annotation of parameter "ci_user_data" must contain BaseAPIParamsNestedModel.', # noqa: E501
'''cloudapi.image.create: API has parameter "architecture" but this SDK function doesn't have corresponding parameter.''', # noqa: E501
'cloudapi.lb.create: annotation of parameter "sysctl_params" must contain BaseAPIParamsNestedModel.', # noqa: E501