mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
7 lines
160 B
Python
7 lines
160 B
Python
from dataclasses import dataclass, field
|
|
|
|
@dataclass
|
|
class Foo:
|
|
bar1: str = field()
|
|
bar2: str = field(kw_only=True)
|
|
bar3: int = field(kw_only=False) |