Lazaros Toumanidis

Results 6 comments of Lazaros Toumanidis

Actually the error could be a few lines above (journalctl -xeu openpyn). For me it was in "update-systemd-resolved.sh" line 61: ip: command not found. Fixed with linking /usr/sbin/ip to /usr/bin/ip.

> > Actually the error could be a few lines above (journalctl -xeu openpyn). For me it was in "update-systemd-resolved.sh" line 61: ip: command not found. Fixed with linking /usr/sbin/ip...

> You can just override install_signal_handlers function: > > ``` > # FastAPI Uvicorn override > class Server(uvicorn.Server): > > # Override > def install_signal_handlers(self) -> None: > > #...

@alexvanzyl Nice! I also had to create the test db in `scripts/test.sh`: ``` docker-compose -f docker-stack.yml exec db sh -c 'psql -U ${POSTGRES_USER} -c "DROP DATABASE IF EXISTS ${POSTGRES_DB}_test;" &&...

Actually it can be a lot easier. We can override the POSTGRES_DB variable: in `docker-compose.yml`: ``` # Allow explicit env var override for tests - SMTP_HOST=${SMTP_HOST} - POSTGRES_DB=${POSTGRES_DB} ``` in...

Here is one way (overriding `get_usage` from the default `TyperGroup` cls): You could also use the `format_usage`. ``` import click import typer from typer.core import TyperGroup as TyperGroupBase class TyperGroup(TyperGroupBase):...