From 146c4f63b148466aab3697842fa9d02559d29cce Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Fri, 14 May 2021 16:01:12 -0700 Subject: [PATCH] Update public_client, no auth --- cbpro/public_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cbpro/public_client.py b/cbpro/public_client.py index e854a163..f484dadc 100644 --- a/cbpro/public_client.py +++ b/cbpro/public_client.py @@ -266,7 +266,7 @@ def _send_message(self, method, endpoint, params=None, data=None): """ url = self.url + endpoint r = self.session.request(method, url, params=params, data=data, - auth=self.auth, timeout=30) + timeout=30) return r.json() def _send_paginated_message(self, endpoint, params=None): @@ -296,7 +296,7 @@ def _send_paginated_message(self, endpoint, params=None): params = dict() url = self.url + endpoint while True: - r = self.session.get(url, params=params, auth=self.auth, timeout=30) + r = self.session.get(url, params=params, timeout=30) results = r.json() for result in results: yield result