spicetools/api/resources/python/spiceapi/card.py

10 lines
233 B
Python
Raw Normal View History

2024-08-28 15:10:34 +00:00
from .connection import Connection
from .request import Request
def card_insert(con: Connection, unit: int, card_id: str):
req = Request("card", "insert")
req.add_param(unit)
req.add_param(card_id)
con.request(req)