Empty values in environment variables should be ignored

Erwan Rouchet
2026-03-12T15:45:05Z

`arkindex.client.options_from_env` should not set any keyword argument when the value for an environment variable is an empty string, not just when the variable does not exist at all. ```python $ ARKINDEX_API_URL="" python3 >>> from ark...

arkindex.client.options_from_env should not set any keyword argument when the value for an environment variable is an empty string, not just when the variable does not exist at all.

$ ARKINDEX_API_URL="" python3
>>> from arkindex import options_from_env
>>> options_from_env()
{"base_url": ""} # this should be empty

When the keyword argument is set anyway, this can override some defaults or cause conflicts with downstream projects.