Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make API url configurable? #5

Open
nsheff opened this issue Oct 9, 2024 · 1 comment
Open

make API url configurable? #5

nsheff opened this issue Oct 9, 2024 · 1 comment
Labels
blocked enhancement New feature or request

Comments

@nsheff
Copy link

nsheff commented Oct 9, 2024

I may want to connect to an API at a different URL, for testing or development purposes for example.

Right now it seems to be harded coded to api.bedbase.org

Could the BEDbase() constructor allow a URL param?

@jwokaty
Copy link
Collaborator

jwokaty commented Oct 9, 2024

I know the API url might change but it needs to be hardcoded for now because it depends on the AnVIL package, which uses rapiclient. rapiclient uses Swagger 2.0 so I also have to convert the API yaml from OpenAPI 3.1 to Swagger 2.0. I'd like to do this in the future to give more freedom to the user when rapiclient can handle OpenAPI 3.1 and a conversion doesn't have to be performed because it's actually using the file in the inst path.

@jwokaty jwokaty added enhancement New feature or request blocked labels Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants