Merge pull request #557 from MojixCoder/master

Update get_or_create method
This commit is contained in:
collerek
2022-03-28 13:04:55 +02:00
committed by GitHub
18 changed files with 150 additions and 62 deletions

View File

@ -753,7 +753,7 @@ below.
#### get\_or\_create
```python
| async get_or_create(*args: Any, **kwargs: Any) -> "T"
| async get_or_create(_defaults: Optional[Dict[str, Any]] = None, *args: Any, **kwargs: Any) -> Tuple["T", bool]
```
Combination of create and get methods.