Skip to content

ERROR Argument SimpleNamespace is not assignable to parameter #34636

@asukaminato0721

Description

@asukaminato0721
+   --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:138:42
+ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `services.app_dsl_service.AppDslService.check_dependencies` [bad-argument-type]
+   --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:579:55
+ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `services.app_dsl_service.AppDslService.check_dependencies` [bad-argument-type]
+   --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:607:55
+ERROR Argument `SimpleNamespace` is not assignable to parameter `app` with type `App | None` in function `services.app_dsl_service.AppDslService._create_or_update_app` [bad-argument-type]
+   --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:664:17
+ERROR Argument `SimpleNamespace` is not assignable to parameter `app` with type `App | None` in function `services.app_dsl_service.AppDslService._create_or_update_app` [bad-argument-type]
+   --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:738:21
+ERROR Argument `SimpleNamespace` is not assignable to parameter `app` with type `App | None` in function `services.app_dsl_service.AppDslService._create_or_update_app` [bad-argument-type]
+   --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:755:21
+ERROR Attribute `app_model_config` of class `App` is a read-only property and cannot be set [read-only]
+   --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:772:9
+ERROR Argument `SimpleNamespace` is not assignable to parameter `app` with type `App | None` in function `services.app_dsl_service.AppDslService._create_or_update_app` [bad-argument-type]
+   --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:793:21
+ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `services.app_dsl_service.AppDslService.export_dsl` [bad-argument-type]
+   --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:833:34
+ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `services.app_dsl_service.AppDslService.export_dsl` [bad-argument-type]
+   --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:847:34
+ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `services.app_dsl_service.AppDslService.export_dsl` [bad-argument-type]
+   --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:868:48
+ERROR Argument `SimpleNamespace` is not assignable to parameter `app_model` with type `App` in function `services.app_dsl_service.AppDslService.export_dsl` [bad-argument-type]
+   --> tests/test_containers_integration_tests/services/test_app_dsl_service.py:885:48

@dosu how to fix this.

Metadata

Metadata

Labels

good first issueGood first issue for newcomersstatus: accepting prsGo ahead, send a pull request that resolves this issue🙏 help wantedExtra attention is needed

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions