Fast Ref / API Reference / Manage

reload_reference()

마크다운 다운로드

지정된 슬롯의 레퍼런스를 소스 파일에서 다시 로드합니다.

시그니처

api.reload_reference(slot: int) -> dict

파라미터

파라미터 타입 설명
slot int 리로드할 슬롯 번호 (0-9)

반환값

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

예외

예외 조건
TypeError slot이 int가 아닐 때 (bool 포함) [v2 추가]
ValueError 슬롯이 유효하지 않거나 비어 있을 때

예제

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.

문의하기