Glassdome Waypoint Airflow Provider
Airflow provider for the Glassdome Waypoint API. This provider integrates the Glassdome Waypoint SDK with Airflow.
Installation
pip install airflow-providers-glassdome-waypoint
Requirements
- Python >= 3.10
- apache-airflow >= 2.11.0
- apache-airflow-providers-common-compat >= 1.8.0
- glassdome-waypoint-sdk >= 0.1.0
Quick Start
Connection Configuration
The provider supports below connection configuration:
- Connection Type:
glassdome-waypoint(displayed asGlassdome Waypointin Airflow UI) - Base URL: Your Waypoint API endpoint
- Auth Type:
api_key - API Key: Your Glassdome API key
- Timeout Seconds: Optional request timeout
from glassdome_waypoint.hooks.waypoint import WaypointHook
hook = WaypointHook(your_connection_id)
client = hook.get_client() # WaypointClient instance
Usage Examples
API Reference
WaypointHook
Main entrypoint that provides an authenticated WaypointClient for an Airflow connection.
Methods
get_conn(): returns a configuredWaypointClientinstance.get_client(): alias forget_conn()test_connection(): validates credentials and base URL by calling a lightweight API method.
WaypointClient
Client for interacting with the Waypoint API. More details available in the Waypoint SDK docs.
Attributes
client.operation: long-running operationsclient.site: site APIsclient.product: product APIsclient.pcf: PCF APIs
Long-Running Operations
Batch import operations return Operation object.
op = client.product.create_products(requests=[...])
# Block until done or timeout
op.wait()
# With return options
op.wait(return_options=OperationReturnOptions(response=True))
# Check for error
if err := op.error():
print(err.code, err.message)
# Access the response
if resp := op.response():
# Process response
pass
Error Handling
The SDK defines these error classes:
WaypointError: Base SDK errorWaypointHTTPError: HTTP errorsAnyUnpackError: Protobuf Any unpacking errors
from glassdome_waypoint_sdk import WaypointError, WaypointHTTPError
try:
# Your API call
pass
except WaypointHTTPError as e:
print(f"HTTP error: {e}")
except WaypointError as e:
print(f"SDK error: {e}")
License
This SDK is proprietary and may be used only under agreement with Glassdome Inc.
Support
For questions or support, contact: developer@glassdomeinc.com
Release files for airflow-providers-glassdome-waypoint 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| airflow_providers_glassdome_waypoint-0.1.1.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| airflow_providers_glassdome_waypoint-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.0 kB
Release files / airflow_providers_glassdome_waypoint-0.1.1.tar.gz
| Download URL | airflow_providers_glassdome_waypoint-0.1.1.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26e8f004e3b9f2cc01b30fdf72f1202abfcf15307e3e02ba47e15ce8d905b3ee
|
|
BLAKE2b-256 checksum How to use checksums |
55767565f0441e9e0bf0ab32e19e942cb0154eb402e32917676ba3d1f91d0eb8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / airflow_providers_glassdome_waypoint-0.1.1-py3-none-any.whl
| Download URL | airflow_providers_glassdome_waypoint-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f1178e5f3f84c5d84adce6eb8167091dd7d1aced10c002c16f03b5fcc66f189b
|
|
BLAKE2b-256 checksum How to use checksums |
b224c37ae095b2624e33e5bc6476cbf451e4000291b0ab7b06cf876b4ec48622
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|