Skip to content

Commit 8896006

Browse files
committed
renamed bid_stream_client.py
1 parent 1e33190 commit 8896006

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

examples/sample_sharing_client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,5 @@ def _usage():
3636
print('UID =', decrypt_result.uid)
3737
print('Established =', decrypt_result.established)
3838
print('Site ID =', decrypt_result.site_id)
39-
print('Identity Scope =', decrypt_result.identity_scope)
4039
print('Identity Type =', decrypt_result.identity_type)
4140
print('Advertising Token Version =', decrypt_result.advertising_token_version)

tests/test_bidstream_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ def test_token_expiry_custom_decryption_time(self): #TokenExpiryAndCustomNow
257257
self.assertEqual(result.identity_scope, IdentityScope.UID2)
258258
self.assertEqual(result.advertising_token_version, AdvertisingTokenVersion.ADVERTISING_TOKEN_V4)
259259

260-
@patch('uid2_client.bid_stream_client.refresh_bidstream_keys')
260+
@patch('uid2_client.bidstream_client.refresh_bidstream_keys')
261261
def test_refresh_keys(self, mock_refresh_bidstream_keys):
262262
mock_refresh_bidstream_keys.return_value = RefreshResponse.make_success(create_default_key_collection([master_key]))
263263
self._client.refresh()

uid2_client/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from .token_generate_input import *
1818
from .token_generate_response import *
1919
from .publisher_client import *
20-
from .bid_stream_client import *
20+
from .bidstream_client import *
2121
from .sharing_client import *
2222
from .decryption_status import *
2323
from .encryption_status import *
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313
class BidstreamClient:
14-
"""Client for interacting with UID2 BidStream services
14+
"""Client for interacting with UID2 Bidstream services
1515
1616
You will need to have the base URL of the endpoint and a client API key
1717
and secret to consume web services.
@@ -22,7 +22,7 @@ class BidstreamClient:
2222
"""
2323

2424
def __init__(self, base_url, auth_key, secret_key):
25-
"""Create a new BidStreamClient client.
25+
"""Create a new BidstreamClient client.
2626
2727
Args:
2828
base_url (str): base URL for all requests to UID2 services (e.g. 'https://prod.uidapi.com')

0 commit comments

Comments
 (0)