Fix duplicate argument

This commit is contained in:
allegroai 2020-07-30 15:15:21 +03:00
parent 619be3dc75
commit 6dca60aef2
2 changed files with 3 additions and 2 deletions

View File

@ -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'))

View File

@ -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,