mirror of
https://github.com/bec-project/bec_widgets.git
synced 2025-07-14 03:31:50 +02:00
fix(generate_cli): fixed type annotations
This commit is contained in:
@ -31,6 +31,7 @@ else:
|
|||||||
class ClientGenerator:
|
class ClientGenerator:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.header = """# This file was automatically generated by generate_cli.py\n
|
self.header = """# This file was automatically generated by generate_cli.py\n
|
||||||
|
from __future__ import annotations
|
||||||
import enum
|
import enum
|
||||||
from typing import Literal, Optional, overload
|
from typing import Literal, Optional, overload
|
||||||
|
|
||||||
|
@ -65,6 +65,8 @@ def test_client_generator_with_black_formatting():
|
|||||||
'''\
|
'''\
|
||||||
# This file was automatically generated by generate_cli.py
|
# This file was automatically generated by generate_cli.py
|
||||||
|
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
import enum
|
import enum
|
||||||
from typing import Literal, Optional, overload
|
from typing import Literal, Optional, overload
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user