Skip to content

Commit

Permalink
fix py39 error
Browse files Browse the repository at this point in the history
  • Loading branch information
tzing committed Mar 17, 2024
1 parent e22b3d5 commit ed413f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions secrets_env/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
from __future__ import annotations

import abc
from typing import ClassVar
from typing import ClassVar, Union

from pydantic import BaseModel

RequestSpec = dict[str, str] | str
RequestSpec = Union[dict[str, str], str]
""":py:class:`RequestSpec` represents a path spec to read the value.
It should be a :py:class:`dict` in most cases; or :py:class:`str` if this
Expand Down

0 comments on commit ed413f7

Please sign in to comment.