lint errors
This commit is contained in:
parent
56af628c68
commit
439e888d9e
@ -34,11 +34,13 @@ paginated_parser.add_argument("sortBy", type=str, dest="sort_by", location="args
|
|||||||
paginated_parser.add_argument("filter", type=str, location="args")
|
paginated_parser.add_argument("filter", type=str, location="args")
|
||||||
paginated_parser.add_argument("owner", type=str, location="args")
|
paginated_parser.add_argument("owner", type=str, location="args")
|
||||||
|
|
||||||
|
|
||||||
def base64encode(string):
|
def base64encode(string):
|
||||||
# Performs Base64 encoding of string to string using the base64.b64encode() function
|
# Performs Base64 encoding of string to string using the base64.b64encode() function
|
||||||
# which encodes bytes to bytes.
|
# which encodes bytes to bytes.
|
||||||
return base64.b64encode(string.encode()).decode()
|
return base64.b64encode(string.encode()).decode()
|
||||||
|
|
||||||
|
|
||||||
def get_psuedo_random_string():
|
def get_psuedo_random_string():
|
||||||
"""
|
"""
|
||||||
Create a random and strongish challenge.
|
Create a random and strongish challenge.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user