Skip to content

Conversation

@michal-chrobok-semantive
  • Modified SDK to use new backend endpoints
  • Removed Pandas
  • Added Apache Arrow support

@michal-chrobok-semantive michal-chrobok-semantive changed the title New backend endpoints New backend endpoints [PD1-33] Jun 23, 2025
@linear
Copy link

linear bot commented Jun 23, 2025

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

@michal-chrobok-semantive michal-chrobok-semantive changed the title New backend endpoints [PD1-33] New backend endpoints for SDK [PD1-33] Jun 23, 2025
Copy link
Member

@joshuanapoli joshuanapoli left a 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",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
host="https://cvec-backend-rzhang-cvec-sandbox.deployments.quix.io",
host="https://CUSTOMER.cvector.app",

Copy link
Member

@joshuanapoli joshuanapoli left a 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

@michal-chrobok-semantive
Copy link
Author

@joshuanapoli I think this PR is ready for re-review and merging

Copy link
Member

@joshuanapoli joshuanapoli left a 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.

@joshuanapoli joshuanapoli merged commit 336e17c into main Jul 2, 2025
4 checks passed
@joshuanapoli joshuanapoli deleted the feature/new-backend-endpoints branch July 2, 2025 12:11
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.

4 participants