Skip to content

Commit

Permalink
0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hughtopping committed Jun 18, 2023
1 parent 21ab342 commit bad0017
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "spektrixpython"
version = "0.6.0"
version = "0.6.1"
description = "A Python 3 module for interacting with Spektrix API v3. This module is written by a third party and is not supported by or affiliated with Spektrix."
authors = ["Hugh Topping <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion spektrixpython/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from .spektrixpython import SpektrixCredentials, SpektrixRequest
from .spektrixpython import SpektrixCredentials, SpektrixAnonymous, SpektrixRequest
2 changes: 0 additions & 2 deletions spektrixpython/spektrixpython.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ def __init__(self, client_name):

class SpektrixRequest(object):
def __init__(self, endpoint, credentials):

self.spektrix_api_user = credentials.api_user
self.spektrix_api_key = credentials.api_key
self.has_credentials = isinstance(credentials, SpektrixCredentials)
Expand Down Expand Up @@ -86,7 +85,6 @@ def _generate_auth_headers(self, payload=None):
return headers

def _make_request(self, payload=None):

if payload == None:
# Spektrix assumes any non-GET request must have a body.
payload = {}
Expand Down

0 comments on commit bad0017

Please sign in to comment.