Skip to content

Commit

Permalink
formatting by black
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemIsmagilov committed Jun 12, 2024
1 parent af51c23 commit 67eb35e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions caldav/davclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -590,13 +590,17 @@ def mkcalendar(self, url: str, body: str = "", dummy: None = None) -> DAVRespons
"""
return self.request(url, "MKCALENDAR", body)

def put(self, url: str, body: str, headers: Mapping[str, str] = None) -> DAVResponse:
def put(
self, url: str, body: str, headers: Mapping[str, str] = None
) -> DAVResponse:
"""
Send a put request.
"""
return self.request(url, "PUT", body, headers or {})

def post(self, url: str, body: str, headers: Mapping[str, str] = None) -> DAVResponse:
def post(
self, url: str, body: str, headers: Mapping[str, str] = None
) -> DAVResponse:
"""
Send a POST request.
"""
Expand Down

0 comments on commit 67eb35e

Please sign in to comment.