-
Notifications
You must be signed in to change notification settings - Fork 0
New backend endpoints for SDK [PD1-33] #2
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
Conversation
michal-chrobok-semantive
commented
Jun 23, 2025
- Modified SDK to use new backend endpoints
- Removed Pandas
- Added Apache Arrow support
PD1-33 IaC for AWS Greengrass Core deployment
Configure AWS GGC on a edge device, loaded with Ignition Edge, with full certificates, offline buffering, sending data to EMQX |
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.
We should not mention "Quix" in the SDK examples. The client will reach our API through TENANT.cvector.app. In any case, Quix will be out of use within 1 month, since they are cancelling our hosting plan.
The client should not need to redundantly specify the tenant in both the subdomain and the custom header. Instead, we can use the router to enrich the API origin request with the Tenant ID. https://github.com/CVector-Energy/cvec-op-envs/pull/113
|
|
||
| def main() -> None: | ||
| cvec = CVec( | ||
| host="https://cvec-backend-rzhang-cvec-sandbox.deployments.quix.io", |
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.
| host="https://cvec-backend-rzhang-cvec-sandbox.deployments.quix.io", | |
| host="https://CUSTOMER.cvector.app", |
examples/add_metric_data_example.py
Outdated
|
|
||
| def main() -> None: | ||
| cvec = CVec( | ||
| host="https://cvec-backend-rzhang-cvec-sandbox.deployments.quix.io", |
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.
| host="https://cvec-backend-rzhang-cvec-sandbox.deployments.quix.io", | |
| host="https://CUSTOMER.cvector.app", |
examples/get_metric_arrow_example.py
Outdated
|
|
||
| def main() -> None: | ||
| cvec = CVec( | ||
| host="https://cvec-backend-rzhang-cvec-sandbox.deployments.quix.io", |
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.
| host="https://cvec-backend-rzhang-cvec-sandbox.deployments.quix.io", | |
| host="https://CUSTOMER.cvector.app", |
|
|
||
| def main() -> None: | ||
| cvec = CVec( | ||
| host="https://cvec-backend-rzhang-cvec-sandbox.deployments.quix.io", |
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.
| host="https://cvec-backend-rzhang-cvec-sandbox.deployments.quix.io", | |
| host="https://CUSTOMER.cvector.app", |
joshuanapoli
left a comment
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.
We should update the SDK to assume that the Router will add the x-tenant-id header without involving the client. https://github.com/CVector-Energy/cvec-op-envs/pull/113
|
@joshuanapoli I think this PR is ready for re-review and merging |
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.
Thank you for rewriting the SDK and its tests! I'll merge now and publish with a major version bump.