diff --git a/src/specklepy/api/client.py b/src/specklepy/api/client.py index 51c7b79b..cd538d0e 100644 --- a/src/specklepy/api/client.py +++ b/src/specklepy/api/client.py @@ -21,7 +21,7 @@ class SpeckleClient(CoreSpeckleClient): The `SpeckleClient` is your entry point for interacting with your Speckle Server's GraphQL API. You'll need to have access to a server to use it, - or you can use our public server `speckle.xyz`. + or you can use our public server `app.speckle.systems`. To authenticate the client, you'll need to have downloaded the [Speckle Manager](https://speckle.guide/#speckle-manager) @@ -32,7 +32,7 @@ class SpeckleClient(CoreSpeckleClient): from specklepy.api.credentials import get_default_account # initialise the client - client = SpeckleClient(host="speckle.xyz") # or whatever your host is + client = SpeckleClient(host="app.speckle.systems") # or whatever your host is # client = SpeckleClient(host="localhost:3000", use_ssl=False) or use local server # authenticate the client with an account (account has been added in Speckle Manager) @@ -47,7 +47,7 @@ class SpeckleClient(CoreSpeckleClient): ``` """ - DEFAULT_HOST = "speckle.xyz" + DEFAULT_HOST = "app.speckle.systems" USE_SSL = True def __init__( diff --git a/src/specklepy/api/wrapper.py b/src/specklepy/api/wrapper.py index ad23f12d..0cff2413 100644 --- a/src/specklepy/api/wrapper.py +++ b/src/specklepy/api/wrapper.py @@ -22,7 +22,7 @@ class StreamWrapper(CoreStreamWrapper): from specklepy.api.wrapper import StreamWrapper # provide any stream, branch, commit, object, or globals url - wrapper = StreamWrapper("https://speckle.xyz/streams/3073b96e86/commits/604bea8cc6") + wrapper = StreamWrapper("https://app.speckle.systems/streams/3073b96e86/commits/604bea8cc6") # get an authenticated SpeckleClient if you have a local account for the server client = wrapper.get_client() diff --git a/src/specklepy/core/api/client.py b/src/specklepy/core/api/client.py index a15db5da..ed9c7768 100644 --- a/src/specklepy/core/api/client.py +++ b/src/specklepy/core/api/client.py @@ -30,7 +30,7 @@ class SpeckleClient: The `SpeckleClient` is your entry point for interacting with your Speckle Server's GraphQL API. You'll need to have access to a server to use it, - or you can use our public server `speckle.xyz`. + or you can use our public server `app.speckle.systems`. To authenticate the client, you'll need to have downloaded the [Speckle Manager](https://speckle.guide/#speckle-manager) @@ -41,7 +41,7 @@ class SpeckleClient: from specklepy.api.credentials import get_default_account # initialise the client - client = SpeckleClient(host="speckle.xyz") # or whatever your host is + client = SpeckleClient(host="app.speckle.systems") # or whatever your host is # client = SpeckleClient(host="localhost:3000", use_ssl=False) or use local server # authenticate the client with an account (account has been added in Speckle Manager) @@ -56,7 +56,7 @@ class SpeckleClient: ``` """ - DEFAULT_HOST = "speckle.xyz" + DEFAULT_HOST = "app.speckle.systems" USE_SSL = True def __init__( diff --git a/src/specklepy/core/api/wrapper.py b/src/specklepy/core/api/wrapper.py index c28e65d0..b27b3ed4 100644 --- a/src/specklepy/core/api/wrapper.py +++ b/src/specklepy/core/api/wrapper.py @@ -30,7 +30,7 @@ class StreamWrapper: from specklepy.api.wrapper import StreamWrapper # provide any stream, branch, commit, object, or globals url - wrapper = StreamWrapper("https://speckle.xyz/streams/3073b96e86/commits/604bea8cc6") + wrapper = StreamWrapper("https://app.speckle.systems/streams/3073b96e86/commits/604bea8cc6") # get an authenticated SpeckleClient if you have a local account for the server client = wrapper.get_client() diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index cd576b47..319a2367 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -23,7 +23,7 @@ def host(): def seed_user(host): seed = uuid.uuid4().hex user_dict = { - "email": f"{seed[0:7]}@spockle.com", + "email": f"{seed[0:7]}@example.org", "password": "$uper$3cr3tP@ss", "name": f"{seed[0:7]} Name", "company": "test spockle", diff --git a/tests/integration/test_stream.py b/tests/integration/test_stream.py index d2e16e98..84ce5f7e 100644 --- a/tests/integration/test_stream.py +++ b/tests/integration/test_stream.py @@ -183,7 +183,7 @@ def test_stream_invite_batch( # NOTE: only works for server admins # invited = client.stream.invite_batch( # stream_id=stream.id, - # emails=["userA@speckle.xyz", "userB@speckle.xyz"], + # emails=["userA@example.org", "userB@example.org"], # user_ids=[second_user.id], # message="yeehaw 🤠", # ) @@ -192,7 +192,7 @@ def test_stream_invite_batch( # invited_only_email = client.stream.invite_batch( # stream_id=stream.id, - # emails=["userC@speckle.xyz"], + # emails=["userC@example.org"], # message="yeehaw 🤠", # ) diff --git a/tests/integration/test_wrapper.py b/tests/integration/test_wrapper.py index f53ba020..c80242c0 100644 --- a/tests/integration/test_wrapper.py +++ b/tests/integration/test_wrapper.py @@ -100,16 +100,20 @@ def test_parse_globals_as_commit(): #! NOTE: the following three tests may not pass locally -# if you have a `speckle.xyz` account in manager +# if you have a `app.speckle.systems` account in manager def test_get_client_without_auth(): - wrap = StreamWrapper("https://speckle.xyz/streams/4c3ce1459c/commits/8b9b831792") + wrap = StreamWrapper( + "https://app.speckle.systems/streams/4c3ce1459c/commits/8b9b831792" + ) client = wrap.get_client() assert client is not None def test_get_new_client_with_token(user_path): - wrap = StreamWrapper("https://speckle.xyz/streams/4c3ce1459c/commits/8b9b831792") + wrap = StreamWrapper( + "https://app.speckle.systems/streams/4c3ce1459c/commits/8b9b831792" + ) client = wrap.get_client() client = wrap.get_client(token="super-secret-token") @@ -117,7 +121,9 @@ def test_get_new_client_with_token(user_path): def test_get_transport_with_token(): - wrap = StreamWrapper("https://speckle.xyz/streams/4c3ce1459c/commits/8b9b831792") + wrap = StreamWrapper( + "https://app.speckle.systems/streams/4c3ce1459c/commits/8b9b831792" + ) client = wrap.get_client() assert not client.account.token # unauthenticated bc no local accounts