Skip to content

Allow to point custom api/grpc url/port for Weaviate local #365

Open
@gurobokum

Description

@gurobokum

I'd like to be able to point custom endpoints for Weaviate instance

with connect_to_local(
additional_config=AdditionalConfig(timeout=self.get_timeout())
) as weaviate_client:
yield weaviate_client

similar to

with connect_to_embedded(
hostname=self.hostname,
port=self.port,
grpc_port=self.grpc_port,
persistence_data_path=self.data_path,
additional_config=AdditionalConfig(timeout=self.get_timeout()),
) as weaviate_client:
yield weaviate_client

And it would be great to pass auth_credentials as well
https://github.com/weaviate/weaviate-python-client/blob/62985c43934cd4dadb5e5e30f436231bf330cfe1/weaviate/connect/helpers.py#L157

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions