Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Geater committed Oct 21, 2024
1 parent fdb7077 commit 2926317
Show file tree
Hide file tree
Showing 11 changed files with 6 additions and 13 deletions.
9 changes: 6 additions & 3 deletions archivist/archivist.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,9 @@ def __copy__(self) -> "Archivist":
arch._user_agent = self._user_agent
return arch

def _add_headers(self, headers: "dict[str,str]|None", add_auth: "bool" = True) -> "dict[str,Any]":
def _add_headers(
self, headers: "dict[str,str]|None", add_auth: "bool" = True
) -> "dict[str,Any]":
newheaders = super()._add_headers(headers)

if add_auth:
Expand Down Expand Up @@ -339,7 +341,8 @@ def post_file(

@retry_429
def delete(
self, url: str,
self,
url: str,
*,
headers: "dict[str, Any]|None" = None,
response_data: "bool" = False,
Expand Down Expand Up @@ -381,7 +384,7 @@ def patch(
*,
headers: "dict[str, Any]| None" = None,
response_data: "bool" = False,
auth: "bool" = True
auth: "bool" = True,
) -> "dict[str, Any] | bytes":
"""PATCH method (REST)
Expand Down
1 change: 0 additions & 1 deletion archivist/notebooks/Checking the Dog's Weight.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"metadata": {},
"outputs": [],
"source": [
"\n",
"from json import dumps as json_dumps\n",
"from os import getenv\n",
"\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"metadata": {},
"outputs": [],
"source": [
"\n",
"from json import dumps as json_dumps\n",
"from os import getenv\n",
"\n",
Expand Down
1 change: 0 additions & 1 deletion archivist/notebooks/Feeding the Dog Hourly.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"metadata": {},
"outputs": [],
"source": [
"\n",
"from json import dumps as json_dumps\n",
"from os import getenv\n",
"\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"metadata": {},
"outputs": [],
"source": [
"\n",
"from json import dumps as json_dumps\n",
"from os import getenv\n",
"\n",
Expand Down
1 change: 0 additions & 1 deletion archivist/notebooks/Feeding the Dog.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"metadata": {},
"outputs": [],
"source": [
"\n",
"from json import dumps as json_dumps\n",
"from os import getenv\n",
"\n",
Expand Down
1 change: 0 additions & 1 deletion archivist/notebooks/Playing Fetch Every 5 Minutes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"metadata": {},
"outputs": [],
"source": [
"\n",
"from json import dumps as json_dumps\n",
"from os import getenv\n",
"\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"metadata": {},
"outputs": [],
"source": [
"\n",
"from json import dumps as json_dumps\n",
"from os import getenv\n",
"\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"metadata": {},
"outputs": [],
"source": [
"\n",
"from json import dumps as json_dumps\n",
"from os import getenv\n",
"\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
"metadata": {},
"outputs": [],
"source": [
"\n",
"from json import dumps as json_dumps\n",
"from os import getenv\n",
"\n",
Expand Down
1 change: 0 additions & 1 deletion archivist/notebooks/Sharing Artist Asset with User.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"metadata": {},
"outputs": [],
"source": [
"\n",
"from json import dumps as json_dumps\n",
"from os import getenv\n",
"\n",
Expand Down

0 comments on commit 2926317

Please sign in to comment.