Fix docstring typo (#404)

This commit is contained in:
pollfly 2021-07-19 13:22:24 +03:00 committed by GitHub
parent 49fcbd7bbf
commit fb6fd9ac4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1636,8 +1636,8 @@ class Task(IdObjectBase, AccessMixin, SetupUploadMixin):
def get_project_id(cls, project_name): def get_project_id(cls, project_name):
# type: (str) -> Optional[str] # type: (str) -> Optional[str]
""" """
Return a the project unique id (str). Return a project's unique ID (str).
If for than one project match the project_name, return the last updated project If more than one project matched the project_name, return the last updated project
If no project matched the requested name, returns None If no project matched the requested name, returns None
:return: Project unique ID (str), or None if no project was found. :return: Project unique ID (str), or None if no project was found.