Skip to content

Commit

Permalink
Dependent Data does not need to be a model
Browse files Browse the repository at this point in the history
  • Loading branch information
jmsmkn committed Feb 6, 2024
1 parent 629c632 commit e575899
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions sagemaker_shim/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,7 @@ def clean_path(path: Path) -> None:
f.rmdir()


class DependentData(BaseModel):
model_config = ConfigDict(frozen=True)

class DependentData:
@property
def model_source(self) -> str | None:
"""s3 URI to a .tar.gz file that is extracted to model_dest"""
Expand Down

0 comments on commit e575899

Please sign in to comment.