Skip to content

Collection name does not always auto capitalize the first letter #6549

@ebcq

Description

@ebcq

Weaviate auto capitalizes the first letter when creating a collection, as it follows the GraphQL naming conventions. However, it does not auto capitalize the first letter in some other situations.

Example

✔️ client.collections.create(name="test") -> creates collection Test
✔️ client.collections.delete("test") -> deletes collection Test
✔️ client.collections.get("test") -> gets collection Test
Filter.by_ref_multi_target("hasQuestion", target_collection="test") -> does not work because it looks for test and not Test

Expected behavior

I expect that the first letter is always auto capitalized when working with collections for consistency (and less debugging).


I used the weaviate-python-client for testing. If the auto capitalization is made in Weaviate, please transfer this issue accordingly.

Metadata

Metadata

Assignees

Labels

DXDeveloper and Contributor Experiencebug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions