-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I have a script almost directly taken from README:
import os
from sprites import SpritesClient
# Create a client
client = SpritesClient(token=os.environ["SPRITES_TOKEN"])
# Get a sprite handle
sprite = client.sprite("my-sprite")
# Run a command
result = sprite.run("echo", "hello", capture_output=True)It fails:
❯ uv pip install sprites-py
Resolved 8 packages in 8ms
Installed 8 packages in 10ms
+ anyio==4.12.1
+ certifi==2026.1.4
+ h11==0.16.0
+ httpcore==1.0.9
+ httpx==0.28.1
+ idna==3.11
+ sprites-py==0.0.1a1
+ websockets==16.0
❯ python sprites_run.py
Traceback (most recent call last):
File "/home/akaihola/sprites_run.py", line 12, in <module>
result = sprite.run("echo", "hello", capture_output=True)
^^^^^^^^^^
AttributeError: 'Sprite' object has no attribute 'run'Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels