mirror of
https://github.com/clearml/clearml
synced 2025-02-02 01:54:23 +00:00
Add Model.project
property
This commit is contained in:
parent
a9774c3842
commit
681d75a309
@ -345,6 +345,14 @@ class Model(IdObjectBase, AsyncManagerMixin, _StorageUriMixin):
|
||||
# no name is yet specified
|
||||
return None
|
||||
|
||||
@property
|
||||
def project(self):
|
||||
try:
|
||||
return self.data.project
|
||||
except ValueError:
|
||||
# no project is yet specified
|
||||
return None
|
||||
|
||||
@property
|
||||
def comment(self):
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user