Skip to content

Conversation

massaindustries
Copy link
Contributor

  • Pinned a stable ecsapi library version 'seeweb': ['ecsapi==0.4.0'],

massaindustries and others added 29 commits September 8, 2025 16:15
Copy link
Collaborator

@Michaelvll Michaelvll left a 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
Copy link
Collaborator

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

Comment on lines -69 to +80
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
Copy link
Collaborator

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?

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