Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/changelog.d/635.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix: fixed Pydantic warning issue
2 changes: 1 addition & 1 deletion src/ansys/sherlock/core/types/parts_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ class ImportPartsToAVLRequest(BaseModel):
import_file: str
"""Full file path to the AVL file."""

import_type: parts_service.AVLImportType
import_type: parts_service.AVLImportType.ValueType
"""Import mode to use for AVL data."""

"""Allow non-standard types like Protobuf enums in Pydantic models."""
Expand Down
1 change: 1 addition & 0 deletions tests/test_parts.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def test_all():
helper_test_get_part_location(parts)
helper_test_get_parts_list_properties(parts)
helper_test_update_pad_properties(parts)
helper_test_import_parts_to_avl(parts)


def helper_test_update_parts_list(parts: Parts):
Expand Down
Loading