Skip to content

Commit

Permalink
refactor: change return type to unicode
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarcoatl committed Dec 3, 2021
1 parent e63ff91 commit ddb184d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/system/date.py
Expand Up @@ -225,7 +225,7 @@ def daysBetween(date_1, date_2):


def format(date, format="yyyy-MM-dd HH:mm:ss"):
# type: (Date, String) -> String
# type: (Date, String) -> unicode
"""Returns the given date as a string, formatted according to a
pattern.
Expand Down
8 changes: 4 additions & 4 deletions src/system/util.py
Expand Up @@ -190,7 +190,7 @@ def getAvailableTerms():


def getClientId():
# type: () -> String
# type: () -> unicode
"""Returns a hex-string that represents a number unique to the
running Client's Session.
Expand Down Expand Up @@ -244,7 +244,7 @@ def getEdition():


def getGatewayAddress():
# type: () -> String
# type: () -> unicode
"""Returns the address of the gateway that the client is currently
communicating with.
Expand All @@ -261,7 +261,7 @@ def getGatewayStatus(
socketTimeoutMillis=None, # type: Optional[int]
bypassCertValidation=True, # type: Optional[bool]
):
# type: (...) -> String
# type: (...) -> unicode
"""Returns a string that indicates the status of the Gateway.
A status of RUNNING means that the Gateway is fully functional.
Expand Down Expand Up @@ -964,7 +964,7 @@ def setReadTimeout(readTimeout):


def threadDump():
# type: () -> String
# type: () -> unicode
"""Creates a thread dump of the current running JVM.
Returns:
Expand Down

0 comments on commit ddb184d

Please sign in to comment.