David Pärsson

Results 25 issues of David Pärsson

The `cert` argument/property, passed to request methods or as a property on a `Session`, allows making requests with [client-side certificates](https://2.python-requests.org/en/master/user/advanced/#client-side-certificates). However, when using `requests` together with `requests-toolbelt`'s App Engine adapters,...

**Edit:** This post originally had a question on how to solve a specific problem, but is updated with the solution and requested change described in https://github.com/alecthomas/injector/issues/116#issuecomment-647505337: Injector should require a...

Using Injector to bind a concrete class to an abstract interface, and then getting an instance of that interface causes a mypy error: ``` class MyABC(ABC): pass class MyClass(MyABC): pass...

Using `NewType` (or `Key`) is a great way to inject configuration into classes, but there are cases where there is a sane default that is rarely overridden. In these cases...

When having a `labeler.yml` where patterns may be expanded to match similar file patterns, none of those will be matched. Consider the following `labeler.yml`: ``` 'some-label': - 'something*.txt' - 'something/**/*.txt'...

When i search for `~`, hyper freezes in what seems to be an infinite loop. I'm on hyper 2.0.0 and hyper-search 0.0.9.

bug

I've been trying to create payments where the message contains Swedish characters (åäö) in a Python 2 project. When I got the callback, Python failed to parse the message. Wouldn't...

**Command attempted:** `hub ci-status` and `hub ci-status --verbose` **What happened:** I have a repo with ~50 checks for CI. When a few of those checks fails, `hub ci-status` can incorrectly...

bug

Fixes a spelling error in the filename.

We're using `alembic-verify` and `sqlalchemy-diff` to verify the correctness of our migrations on a PostgreSQL database, but every now and then the `destroy_database(temporary_uri)` call in the test's teardown fails with...