Skip to content

Commit 2d8e721

Browse files
committed
f
1 parent 35d631e commit 2d8e721

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

cylc/flow/parsec/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
import sys
2121
from textwrap import dedent
2222
from typing import TYPE_CHECKING, Callable, Iterable, List, Optional
23-
from typing_extensions import Literal
2423

2524
from cylc.flow.context_node import ContextNode
2625
from cylc.flow.parsec.exceptions import (
@@ -36,11 +35,12 @@
3635

3736
if TYPE_CHECKING:
3837
from optparse import Values
38+
from typing_extensions import Literal
3939

4040

4141
class ParsecConfig:
4242
"""Object wrapper for parsec functions."""
43-
META: Literal[str] = 'meta'
43+
META: "Literal['meta']" = 'meta'
4444

4545
def __init__(
4646
self,

cylc/flow/scripts/config.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
"""
5151

5252
import asyncio
53-
import json
5453

5554
import os.path
5655
from typing import List, Optional, TYPE_CHECKING

0 commit comments

Comments
 (0)