mirror of
https://github.com/clearml/clearml
synced 2025-01-31 00:56:57 +00:00
Fix duplicate argument
This commit is contained in:
parent
619be3dc75
commit
6dca60aef2
4
setup.py
4
setup.py
@ -7,10 +7,12 @@ import os.path
|
|||||||
# Always prefer setuptools over distutils
|
# Always prefer setuptools over distutils
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
|
|
||||||
def read_text(filepath):
|
def read_text(filepath):
|
||||||
with open(filepath, "r") as f:
|
with open(filepath, "r", encoding="utf-8") as f:
|
||||||
return f.read()
|
return f.read()
|
||||||
|
|
||||||
|
|
||||||
here = os.path.dirname(__file__)
|
here = os.path.dirname(__file__)
|
||||||
# Get the long description from the README file
|
# Get the long description from the README file
|
||||||
long_description = read_text(os.path.join(here, 'README.md'))
|
long_description = read_text(os.path.join(here, 'README.md'))
|
||||||
|
@ -191,7 +191,6 @@ class Model(IdObjectBase, AsyncManagerMixin, _StorageUriMixin):
|
|||||||
parent = parent_id or self.data.parent
|
parent = parent_id or self.data.parent
|
||||||
|
|
||||||
self._edit(
|
self._edit(
|
||||||
model=self.id,
|
|
||||||
uri=uri,
|
uri=uri,
|
||||||
name=name,
|
name=name,
|
||||||
comment=comment,
|
comment=comment,
|
||||||
|
Loading…
Reference in New Issue
Block a user