Niccolum

Results 16 comments of Niccolum

> we're working on * and ** :-) #144 That's great! What about second part of issue? is it possible to see it in near future?)

Yes, of course. But is it possible do it only with strings? I had a task that the user himself passes the data filters in the form of strings and...

If you have issue about this - just add link here and close this ticket. If not - can you add this issue to future features list?

> FastAPI community is welcome to use my code: https://github.com/gnat/csrf-starlette-fastapi/blob/main/csrf_middleware.py > > ~50 lines. It's good, that you have your own implementation. But I said about built-in support. How it's...

@gnat it's okay for newer browsers. What about older? Also, not protected with subdomain attack

Found interesting issue in CPython about it https://bugs.python.org/issue38905 Have you any ideas how to solve this? I have idea with one crutch: ``` command = [ sys.executable if s ==...

@jaytang0923 I think `type` can help with it. For example `DeviceBatch01 = type("DeviceBatch01", (DeviceStore,), {"__tablename__": "devicebatch01"})` But this desire looks like you want something bad.

@jaytang0923 looks like TypedDict helped with it. Type hinting is impossible with this example of writing code, but typeddict should help out (python 3.8+ in typing or typing-extension on 3.6+)

I saw on typeddict and thought, how to use it with your case. Now i have only one vision ``` from typing import TypedDict, Optional class MyType(TypedDict): __tablename__: str tusnid:...