Josiah Kaviani
Josiah Kaviani
```python from dependencies import wire, scope class Container: user = wire(User) name = 'John' @wire async def age() -> int: yield 1 async with scope(Container) as container: print(container.user.name) print(container.user.age) print(container.user...
```python def action(a, b): def do(c, d): return ... return doc ``` #### versus ```python class Action: a = ... b = ... def do(self, c, d): ... ``` *...
# Syntax ~~Once again we would change required syntax to work :sweat_smile:~~ ```python from dataclasses import dataclass from types import SimpleNamespace from typing import Callable from stories import story from...
Resolves #723
Remove `State`, `Argument`, and `Variable` objects. In all documentation examples use https://docs.python.org/3/library/types.html#types.SimpleNamespace instead. Write documentation page how to use `attrs` and `pydantic` as DTOs with validation. Field with `init=False` is...
Let say we would have nested stories. ``` class Purchase(Story): I.fetch_discount when('has_discount') > I.apply_discount ``` In that case, we have :chicken: and :egg: problem. 1. fetch discount would set `has_discount`...
## Checklist - [X] I have verified that that issue exists against the `master` branch of Django REST framework. - [X] I have searched for similar issues in both open...
At the moment user could specify dictionary files with cli flags only. ``` npx yaspeller --dictionary=personal.json:wiktionary.json docs/ ``` `dictionary` config option contains dictionary itself. I would like to have a...
When you try to start second server via **C-u C-c ; w** and specify another port with **-p** option, for example start your test project as second site, its just...