Skip to content

Commit

Permalink
Allow empty machine_type_configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
giffels committed Jul 14, 2022
1 parent 0718a7e commit 6df1eb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tardis/interfaces/siteadapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class SiteAdapterBaseModel(BaseModel):
"""

MachineTypes: List[str]
MachineTypeConfiguration: "AttributeDict[str, AttributeDict[str, Any]]"
MachineTypeConfiguration: "AttributeDict[str, Optional[AttributeDict[str, Any]]]"
MachineMetaData: "AttributeDict[str, AttributeDict[str, Any]]"
# Use Any to avoid automated conversion to int or float here, validate later

Expand Down

0 comments on commit 6df1eb1

Please sign in to comment.