Fast Ref / API Reference / Manage

reload_reference()

Download Markdown

Reloads the specified slot's reference from its source file.

Signature

api.reload_reference(slot: int) -> dict

Parameters

Parameter Type Description
slot int Slot number to reload (0-9)

Return Value

{
    "success": bool,
    "message": str,
}

Errors

Error Cause
TypeError slot is not int (including bool) [v2 added]
ValueError Slot is invalid or empty

Example

from os_fast_ref.api import FastRefAPI

api = FastRefAPI()
result = api.reload_reference(slot=0)
print(result['message'])

💬

Need help with the API?

Open a support ticket or join the community discussion.

Contact Support