Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENG-4971: Extending client object creation to support either a full U… #78

Merged
merged 12 commits into from
May 14, 2024

Conversation

JMkrish
Copy link
Contributor

@JMkrish JMkrish commented Mar 27, 2024

Link to JIra: https://sightmachine.atlassian.net/browse/ENG-4971

This updates the creation process of client objects in the Sight Machine platform, expanding it to accept both full URLs and tenant names. Previously, client objects could only be initialized with tenant names. Now, users have the option to provide either a full URL (e.g., "https://demo.sightmachine.io/") or a simple tenant name (e.g., "demo").

@JMkrish JMkrish requested review from mklein0 and removed request for mklein0 April 15, 2024 17:01
smsdk/client_v0.py Outdated Show resolved Hide resolved
smsdk/client_v0.py Outdated Show resolved Hide resolved
smsdk/client_v0.py Outdated Show resolved Hide resolved
smsdk/client_v0.py Outdated Show resolved Hide resolved
@JMkrish JMkrish requested a review from mklein0 April 19, 2024 07:53
@codecov-commenter
Copy link

codecov-commenter commented Apr 19, 2024

Codecov Report

Attention: Patch coverage is 13.04348% with 40 lines in your changes are missing coverage. Please review.

Project coverage is 22.69%. Comparing base (8648fa3) to head (72ae73b).

Files Patch % Lines
smsdk/client_v0.py 12.82% 34 Missing ⚠️
smsdk/utils.py 16.66% 5 Missing ⚠️
smsdk/client.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #78      +/-   ##
==========================================
- Coverage   23.22%   22.69%   -0.54%     
==========================================
  Files          11       11              
  Lines        1369     1397      +28     
  Branches      321      330       +9     
==========================================
- Hits          318      317       -1     
- Misses       1051     1080      +29     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

smsdk/client_v0.py Outdated Show resolved Hide resolved
@JMkrish JMkrish requested a review from mklein0 April 24, 2024 19:24
tests/Uri/test_uri.py Outdated Show resolved Hide resolved
tests/Uri/test_uri.py Outdated Show resolved Hide resolved
tests/Uri/test_uri.py Outdated Show resolved Hide resolved
tests/Uri/test_uri.py Outdated Show resolved Hide resolved
@mklein0 mklein0 self-requested a review April 24, 2024 20:53
@JMkrish JMkrish force-pushed the ENG-4971 branch 2 times, most recently from b5b3b3e to 908c397 Compare April 25, 2024 12:20
@mklein0 mklein0 self-requested a review April 25, 2024 15:52
tests/Uri/test_uri.py Outdated Show resolved Hide resolved
@JMkrish JMkrish requested a review from mklein0 April 30, 2024 05:25
tests/Uri/test_uri.py Show resolved Hide resolved
smsdk/client_v0.py Outdated Show resolved Hide resolved
@JMkrish JMkrish merged commit 5b11d26 into master May 14, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants