Skip to content

Commit

Permalink
removed :dict in headers
Browse files Browse the repository at this point in the history
  • Loading branch information
krishnaglodha committed Nov 18, 2024
1 parent 960cd8b commit 568ba01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/geoserverx/_async/gsx.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class AsyncGeoServerX:
username: str = "admin"
password: str = "geoserver"
url: str = "http://127.0.0.1:8080/geoserver/rest/"
headers: dict = {"Content-Type": "application/json"}
headers = {"Content-Type": "application/json"}

def __post_init__(self):
if not self.username and not self.password and not self.url:
Expand Down
2 changes: 1 addition & 1 deletion src/geoserverx/_sync/gsx.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class SyncGeoServerX:
username: str = "admin"
password: str = "geoserver"
url: str = "http://127.0.0.1:8080/geoserver/rest/"
headers: dict = {"Content-Type": "application/json"}
headers = {"Content-Type": "application/json"}

def __post_init__(self):
if not self.username and not self.password and not self.url:
Expand Down

0 comments on commit 568ba01

Please sign in to comment.