Skip to content

Commit c30fd3d

Browse files
committed
chore: Add ignores for mypy
This likely is related to this: pydantic/pydantic#13115
1 parent db48297 commit c30fd3d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/gallia/cli/gallia.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ def _create_parser_from_command(
3939
model_type = create_model(
4040
f"_dynamic_{command.CONFIG_TYPE}_{model_counter}", __base__=command.CONFIG_TYPE
4141
)
42-
model_type._original_field_infos = command.CONFIG_TYPE._original_field_infos
42+
model_type._original_field_infos = command.CONFIG_TYPE._original_field_infos # type: ignore[attr-defined]
4343
extra_defaults[model_type] = config_attributes
4444

4545
setattr(model_type, _CLASS_ATTR, command)
4646

47-
return model_type, extra_defaults, model_counter
47+
return model_type, extra_defaults, model_counter # type: ignore[return-value]
4848

4949

5050
def _create_parser_from_tree(

0 commit comments

Comments
 (0)