From f6a47a066b4f1d19278dfb51701f61c70cebc19d Mon Sep 17 00:00:00 2001 From: luke-lombardi <33990301+luke-lombardi@users.noreply.github.com> Date: Tue, 30 Apr 2024 12:42:06 -0400 Subject: [PATCH] fix type error for py38/39 (#171) Co-authored-by: Luke Lombardi --- sdk/pyproject.toml | 2 +- sdk/src/beta9/config.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk/pyproject.toml b/sdk/pyproject.toml index 0d9b08ccf..b301984b2 100644 --- a/sdk/pyproject.toml +++ b/sdk/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "beta9" -version = "0.1.8" +version = "0.1.9" description = "" authors = ["beam.cloud "] packages = [ diff --git a/sdk/src/beta9/config.py b/sdk/src/beta9/config.py index f100b0062..836b42744 100644 --- a/sdk/src/beta9/config.py +++ b/sdk/src/beta9/config.py @@ -4,7 +4,7 @@ import socket from dataclasses import asdict, dataclass from pathlib import Path -from typing import Any, Mapping, Optional, Tuple, Union +from typing import Any, Dict, Mapping, Optional, Tuple, Union from . import terminal @@ -51,7 +51,7 @@ def get_config_path(base_dir: str = "~/.beta9") -> Path: return path -def load_config(path: Optional[Union[str, Path]] = None) -> dict[str, ConfigContext]: +def load_config(path: Optional[Union[str, Path]] = None) -> Dict[str, ConfigContext]: if path is None: path = get_config_path()