Skip to content

Currently, connector doesn't require auth, only actions does #5

@Thomas65535

Description

@Thomas65535

return WarehouseAConnector(auth=auth, actions=actions)

Simplication:

def _build_default_connector() -> WarehouseAConnector:
    """
    Convenience factory used by the registry / playground.

    In real life, you'd likely create this from env vars or a config file.
    """
    auth = ApiKeyAuth("X-API-Key", "dummy")
    actions = WarehouseAActions(
        base_url="https://api.warehouse-a.example",
        api_key="dummy",
    )
    return WarehouseAConnector(actions=actions)

Metadata

Metadata

Assignees

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