Grigorii Statsenko

Results 4 issues of Grigorii Statsenko

# Description Added the option to pass `db_name` as part of the URI. Say, you have the full URI (as is often done) in your settings file or environment variable....

enhancement
new feature
2.x

### Describe the bug `url.update_query(None)` doesn't clear the query ### To Reproduce In reality it does this: ``` >>> URL('https://mysite.org?what=this').update_query(None) URL('https://mysite.org/?what=this') ``` ### Expected behavior The [doc says](https://yarl.readthedocs.io/en/latest/api.html#yarl.URL.update_query): ``` URL.update_query(query)...

bug

If you call `Model.import_dict()` with a dictionary that is created by some other part of your program, it might be empty, but the `import_dict` method should still work the same...

"TypeError: not all arguments converted during string formatting" if data is a tuple