ขนาดวิดีโอ: 1280 X 720853 X 480640 X 360
แสดงแผงควบคุมโปรแกรมเล่น
เล่นอัตโนมัติ
เล่นใหม่
currently binge watching all your videos :)
looking forward explaining more for mypy and how it used in your project!
Thank you so much! I was so confused
If a function yields the return value instead of returning it, does the type of return value become a Generator?
putting type around the return value outputs So could I do something likefrom typing import Generatordef x()->Generator: yield 1Does Generator represent
yep -- I cover the typing of Generator in this video: th-cam.com/video/LjBa9sfJh7U/w-d-xo.html
very nice! thanks Anthony!
This video is only viewed 19k times? I thought it would be 500k times. It really surprised me
Thanks for sharing!
I too am Anthony
hello hello Anthony!
did you make a pyupgrade hook to update py2 type hints to py3 yet?
no need -- this exists: github.com/ilevkivskyi/com2ann
A video on generic types, TypeVar, NewType, please...
one is planned already!
hmmm, you didn't need to import `reveal_type`
yep it's a mypy "builtin" (also good because other linters will prevent you from comitting it)
pre-commit + mypy = brillaint!!!
NICe
SECURITY
the old way look cooler
currently binge watching all your videos :)
looking forward explaining more for mypy and how it used in your project!
Thank you so much! I was so confused
If a function yields the return value instead of returning it, does the type of return value become a Generator?
putting type around the return value outputs
So could I do something like
from typing import Generator
def x()->Generator:
yield 1
Does Generator represent
yep -- I cover the typing of Generator in this video: th-cam.com/video/LjBa9sfJh7U/w-d-xo.html
very nice! thanks Anthony!
This video is only viewed 19k times? I thought it would be 500k times. It really surprised me
Thanks for sharing!
I too am Anthony
hello hello Anthony!
did you make a pyupgrade hook to update py2 type hints to py3 yet?
no need -- this exists: github.com/ilevkivskyi/com2ann
A video on generic types, TypeVar, NewType, please...
one is planned already!
hmmm, you didn't need to import `reveal_type`
yep it's a mypy "builtin" (also good because other linters will prevent you from comitting it)
pre-commit + mypy = brillaint!!!
NICe
SECURITY
the old way look cooler