Roman Zimmermann

Results 32 comments of Roman Zimmermann

Here is an example code. ```python import flask import flask_sqlalchemy import pytest app = flask.Flask(__name__) app.config["SQLALCHEMY_DATABASE_URI"] = "postgresql:///test" db = flask_sqlalchemy.SQLAlchemy(app) class Event(db.Model): id = db.Column(db.Integer(), primary_key=True) @app.route("/event", methods=("POST", ))...

> Hi @torotil , take a look at https://python-dependency-injector.ets-labs.org/providers/configuration.html#loading-from-a-yaml-file Thanks. Seems I have put the question in a misleading way. What I meant with “container config” is the specs of...

Awesome, thanks! I’ll try to look into it soon.

I also like like @francois-rozet ’s suggestions a lot ([link](https://github.com/psf/black/issues/1811#issuecomment-1025171594)). I think it covers well how I would like code to look. Together with the trailing comma functionality this would...

To everyone who sees this as blocker for introducing black in their team. In my experience the current style most often already leads to better code *because* it’s not what...

I guess the problem comes down to these questions: 1. How to discriminate between multiple field and single field validation? Do we need to? 2. How to assign _roles_ to...

> The issue of how to deal with error messages is a biggie. Yes and no. I think we can play divide and conquer with that: 1. Where do we...

> Do we need to support variable number of fields in the group (in which case naming them might be tedious)? What about using some PHP-like syntax: `validator#role[]` and then...

I see this issue too. The build is only failing because the build for the original branch was failing for Python 3.3 at that time. Rebasing would fix that.

Was there a reason to not use `CREATE USER IF NOT EXISTS` back then? It seems both MySQL and MariaDB support it.