Paul Garner
Paul Garner
the bash completions need an extra step to work (due to a dependency was previously installed with `--user`)... ``` $ source ~/.bashrc pyenv: register-python-argcomplete: command not found The `register-python-argcomplete' command...
this seems to be platform-dependent... @hvdijk example above does not work for me: ```bash $ echo '"2015-03-05T23:51:47.487Z"' | jq 'strptime("%Y-%m-%dT%H:%M:%S.%GZ")' jq: error (at :1): date "2015-03-05T23:51:47.487Z" does not match format...
`@pytest.mark.django_db(transaction=True)` for pytest-django gets rid of the tear down error for me, I assume using `TransactionTestCase` would too but it'd be good to get to the bottom of it
I think I have this problem too I'm deploying an app to fly.io, I get an `https://.fly.dev` url. But the static files are not displaying and it seems to be...
I have gone with `--proxy-headers --forwarded-allow-ips=*` args to uvicorn and can confirm that it does work at least
FWIW the second code posted by @kpoeppel works for me, I can get a result by calling: ```python coreml_model.predict({'inp_0': x0.numpy()}) ``` I am on M1 macOS 13.3.1, Python 3.10, `coremltools==6.3.0`...
it's relatively easy with GitHub Actions https://docs.docker.com/build/ci/github-actions/multi-platform/#distribute-build-across-multiple-runners there might be a clue in there how they achieve that, it seems to involve: - push each individual arch build as untagged...
Another use-case... Currently I do this: ```python ParameterName = Literal["MONGODB_URI", "SNOWFLAKE_PASSWORD"] PARAMETER_NAMES: tuple[ParameterName, ...] = ParameterName.__args__ # type: ignore ``` (the `# type: ignore` is there because pylance doesn't recognise...
Yes, that seems to be the case. I assume not specific to Django 1.4... maybe in later djangoes there's a better workaround though. My solution was to create a dummy...
For more context... I noticed that some of the other LMHeadModel classes have a note: > works OK with coremltools commit 50c5569, breaks with later versions It looks like that...