@rpcmethod(
    name='configuration.sc.set',
    signature=['String', 'Object'],
    login_required=satnet_settings.JRPC_LOGIN_REQUIRED
)
def set_configuration(spacecraft_id, configuration):
    callsign, tle_id = segment_serializers.deserialize_sc_configuration(
        configuration
    )
    sc = segments.Spacecraft.objects.get(identifier=spacecraft_id)
    sc.update(callsign=callsign, tle_id=tle_id)
    return spacecraft_id
JRPC test: configuration.sc.setConfiguration
dataset/ETHPy150Open satnet-project/server/services/configuration/jrpc/views/segments/spacecraft.py/set_configuration