Add ezdxf stubs
This commit is contained in:
parent
ebfe1b559c
commit
0f49924aa6
4 changed files with 53 additions and 0 deletions
12
stubs/ezdxf/__init__.pyi
Normal file
12
stubs/ezdxf/__init__.pyi
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
from typing import Any, TextIO, Iterable
|
||||
from .layouts import Modelspace, BlockRecords
|
||||
|
||||
class Drawing:
|
||||
blocks: BlockRecords
|
||||
@property
|
||||
def layers(self) -> Iterable[Any]: ...
|
||||
def modelspace(self) -> Modelspace: ...
|
||||
def write(self, stream: TextIO) -> None: ...
|
||||
|
||||
def new(version: str = ..., setup: bool = ...) -> Drawing: ...
|
||||
def read(stream: TextIO) -> Drawing: ...
|
||||
Loading…
Add table
Add a link
Reference in a new issue