Skip to content

Client does not use configured HTTP session for scraping provider list #2275

@ml-evs

Description

@ml-evs

The get_all_databases function does its own request handling. In cases where custom HTTP configurations are required (e.g., proxies etc.) this makes it impossible to use the client without manually setting the base URLs.

The get_all_databases (and related functions) could be refactored to use a custom HTTP client/session, but should default to doing their own thing (this function is called at initialisation of the reference server).

See #2274 for more info.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingclientIssues/PRs relating to the OPTIMADE client.help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions