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

10 lines
233 B
Python

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)