-
Notifications
You must be signed in to change notification settings - Fork 800
Seeweb - Pinned Library #7493
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
base: master
Are you sure you want to change the base?
Seeweb - Pinned Library #7493
Conversation
massaindustries
commented
Oct 6, 2025
- Pinned a stable ecsapi library version 'seeweb': ['ecsapi==0.4.0'],
…eb-cloud-01 seeweb-commit-review-13
…eb-cloud-01 seeweb-merge-review-02
…into seeweb-cloud-01
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @massaindustries! Left some comments : )
vSphere: enabled | ||
Cloudflare (for R2 object store): enabled | ||
Kubernetes: enabled | ||
Seeweb: enabled |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's already included in the list above
seeweb_client.fetch_servers() | ||
try: | ||
seeweb_client.fetch_servers() | ||
except pydantic.ValidationError: | ||
# Fallback: fetch raw JSON to validate authentication | ||
# pylint: disable=protected-access | ||
base_url = seeweb_client._Api__generate_base_url() # type: ignore | ||
headers = seeweb_client._Api__generate_authentication_headers( | ||
) # type: ignore | ||
url = f'{base_url}/servers' | ||
resp = requests.get(url, headers=headers, timeout=15) | ||
resp.raise_for_status() | ||
# If we get here, authentication worked even if schema mismatches |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still need this with the version pinned?