mirror of
https://github.com/EvolutionAPI/adk-python.git
synced 2025-07-14 01:41:25 -06:00
chore: fixes type hint in base_artifact_service.py
`pass` is not required when docstring exists. PiperOrigin-RevId: 755413158
This commit is contained in:
parent
fcca0afdac
commit
28abc306c3
@ -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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user