Anton Agestam
Anton Agestam
@sobolevn Yes, fixing that would be awesome. I started looking into it a bit but I somehow always find it extremely hard to understand what's going on in mypy plugins....
These are the results I get when not using `cast()`: Both these give the error below, the first one probably makes sense, but the second one is because the explicit...
This PR seem to have been superseded, should it be closed?
@lundberg For the plain `get`, I think the current API is fine, it works like `get` on dict/Mapping and so is not surprising to users, but it could be updated...
+1 for "strict" over "safe". I'll probably get a PR up for the implementation soon, but let's ponder naming etc in the meantime. Could it be worth a breaking change...
@lundberg My thoughts exactly! 👍
Once I find the time to get back to this, it would be nice to also add a `env.get_enum(SomeEnum, "SOME_VAR")` util. Another useful would be a `get_mapping(enum: E, prefix: str,...
@Mojken I think this is as far as I got: https://github.com/5monkeys/django-bananas/compare/feature/safe-environ-wrapper?expand=1 I'm not sure it makes sense to work on that until we have full support for shipping type hints,...
Maybe it would be a good idea to try and describe what's lacking and what value you think a different set of tools adds. For me chat apps only add...
This works: ```python import pydoc pydoc.locate('glances.main')() ``` I'm using that for a "pluggable backend" type of solution and got the inspiration [here](https://stackoverflow.com/questions/547829/how-to-dynamically-load-a-python-class/24815361#24815361). Unfortunately it does not seem like it's documented...