Skip to content

Commit 2d7b81c

Browse files
refactor: Update auth_headers method to return an empty dictionary
1 parent b9c6499 commit 2d7b81c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/onebusaway/_client.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,9 @@ def qs(self) -> Querystring:
134134
return Querystring(array_format="repeat")
135135

136136
@property
137-
def auth_headers(self) -> httpx.Auth:
138-
raise NotImplementedError("This auth method has not been implemented yet.")
137+
@override
138+
def auth_headers(self) -> dict[str, str]:
139+
return {}
139140

140141
@property
141142
@override
@@ -329,8 +330,9 @@ def qs(self) -> Querystring:
329330
return Querystring(array_format="repeat")
330331

331332
@property
332-
def auth_headers(self) -> httpx.Auth:
333-
raise NotImplementedError("This auth method has not been implemented yet.")
333+
@override
334+
def auth_headers(self) -> dict[str, str]:
335+
return {}
334336

335337
@property
336338
@override

0 commit comments

Comments
 (0)