Fix formatting

This commit is contained in:
Thomas Sileo 2019-04-15 22:37:09 +02:00
parent 757f1942f0
commit a25a8fb1e1

View file

@ -39,7 +39,12 @@ class PousseTaches:
self.base_url = base_url self.base_url = base_url
def push( def push(
self, payload: Any, path: str, expected: int = 200, schedule: str = "", delay: int = 0, self,
payload: Any,
path: str,
expected: int = 200,
schedule: str = "",
delay: int = 0,
) -> str: ) -> str:
# Encode our payload # Encode our payload
p = base64.b64encode(json.dumps(payload).encode()).decode() p = base64.b64encode(json.dumps(payload).encode()).decode()