Repository navigation
Tags
Tags
feat: expose retry arguments in Client (#97) * feat: expose retry arguments in Client * Also add use_server_retry_after so if the server gives a retyr_after value use that, fix latest() bug * Formatting, update readme with retry policy --------- Co-authored-by: awarde96 <adamjwarde@gmail.com>
fix: dont override explicit model by class (#99) * fix: dont override explicit model by class When retrieving from opendata with model being aifs-enfs and class ai, the client replaces the model by aifs-single, leading to url not being found. We change the internal logic of "if class is given, use it to derive the model no matter what" to "if class is given and model is *not* explicitly given, derive model from class, otherwise respect explicitly given model". We additionally add a warning when the class-derived model differs from the client-constructed model, increasing consistency with explicit model vs client-constructed model mismatch. * Add test to confirm new logic is working --------- Co-authored-by: awarde96 <adamjwarde@gmail.com>
refactor: introduce source factory with defaults for range requests (#96 ) * refactor: introduce source factory with defaults for range request support * Re add url attribute into client for backwards compatibility, no longer skip tests on google source --------- Co-authored-by: awarde96 <adamjwarde@gmail.com>
PreviousNext