Skip to content

Commit

Permalink
fix: require version for ExperimentDefinition
Browse files Browse the repository at this point in the history
  • Loading branch information
panahiparham committed Sep 24, 2024
1 parent d9ed910 commit 8ed6d40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ml_experiment/ExperimentDefinition.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from ml_experiment.metadata.MetadataTable import MetadataTable

class ExperimentDefinition:
def __init__(self, part_name: str, version: int | None, base: str | None = None):
def __init__(self, part_name: str, version: int, base: str | None = None):
self.part_name = part_name
self.version = version
self.base_path = base or os.getcwd()
Expand Down

0 comments on commit 8ed6d40

Please sign in to comment.