mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
added docstrings
This commit is contained in:
parent
7d623a2bb5
commit
518885a39f
6 changed files with 254 additions and 6 deletions
|
|
@ -1,4 +1,5 @@
|
|||
class ObjAlreadyExist(Exception):
|
||||
"""Is used when is created multiple objects of same RestApi class."""
|
||||
def __init__(self, cls=None, message=None):
|
||||
if not (cls and message):
|
||||
message = "RestApi object was created twice."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue