Skip to content

feat: exportToJson and createFromJson#393

Open
dudanogueira wants to merge 4 commits intoweaviate:mainfrom
dudanogueira:export-create-from-json
Open

feat: exportToJson and createFromJson#393
dudanogueira wants to merge 4 commits intoweaviate:mainfrom
dudanogueira:export-create-from-json

Conversation

@dudanogueira
Copy link
Contributor

This PR will implements two new functions:

client.collections.createFromJson(jsonSchema)

and

client.collections.exportToJson("MyCollection")

They will basically consume the collections http endpoints to get or create a collection.

This will unblock creating and exporting schemas used from other tools, for example Weaviate Add Collection or exporting a collection using python client and importing using typescript or vice versa.

Copy link

@orca-security-eu orca-security-eu bot left a comment

Choose a reason for hiding this comment

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

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

@dudanogueira dudanogueira changed the title implements exportToJson and createFromJson feat: exportToJson and createFromJson Feb 11, 2026
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.

1 participant