chore: fixes type hint in base_artifact_service.py

`pass` is not required when docstring exists.

PiperOrigin-RevId: 755413158
This commit is contained in:
Wei Sun (Jack) 2025-05-06 09:57:38 -07:00 committed by Copybara-Service
parent fcca0afdac
commit 28abc306c3

View File

@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
"""Abstract base class for artifact services."""
from abc import ABC from abc import ABC
from abc import abstractmethod from abc import abstractmethod
@ -78,7 +77,6 @@ class BaseArtifactService(ABC):
Returns: Returns:
The artifact or None if not found. The artifact or None if not found.
""" """
pass
@abstractmethod @abstractmethod
async def list_artifact_keys( async def list_artifact_keys(
@ -94,7 +92,6 @@ class BaseArtifactService(ABC):
Returns: Returns:
A list of all artifact filenames within a session. A list of all artifact filenames within a session.
""" """
pass
@abstractmethod @abstractmethod
async def delete_artifact( async def delete_artifact(
@ -108,7 +105,6 @@ class BaseArtifactService(ABC):
session_id: The ID of the session. session_id: The ID of the session.
filename: The name of the artifact file. filename: The name of the artifact file.
""" """
pass
@abstractmethod @abstractmethod
async def list_versions( async def list_versions(
@ -125,4 +121,3 @@ class BaseArtifactService(ABC):
Returns: Returns:
A list of all available versions of the artifact. A list of all available versions of the artifact.
""" """
pass