diff --git a/pins/rsconnect/fs.py b/pins/rsconnect/fs.py index 853443a..3cae84b 100644 --- a/pins/rsconnect/fs.py +++ b/pins/rsconnect/fs.py @@ -1,6 +1,6 @@ from dataclasses import asdict, dataclass, field, fields from pathlib import Path -from typing import Sequence +from typing import ClassVar, Sequence from fsspec import AbstractFileSystem @@ -105,7 +105,7 @@ class BundleFilePath(BundlePath): class RsConnectFs(AbstractFileSystem): - protocol: str = "rsc" + protocol: ClassVar[str | tuple[str, ...]] = "rsc" def __init__(self, server_url, **kwargs): if isinstance(server_url, RsConnectApi): diff --git a/pyproject.toml b/pyproject.toml index 3497c51..5ff445f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -104,7 +104,6 @@ reportAttributeAccessIssue = false reportCallIssue = false reportGeneralTypeIssues = false reportIncompatibleMethodOverride = false -reportIncompatibleVariableOverride = false reportIndexIssue = false reportMissingImports = false reportMissingTypeStubs = false