0
WebDAV 위치를 마운트하고 진행하기 전에 작업이 완료 될 때까지 기다려야합니다 (스크립트). 그래서 나는이 방법으로 라이브러리를 사용하고 있습니다 : 장치가 장착 될 때까지비동기 작업이 수행되기를 기다리는 파이썬 gio
location = gio.File("dav://server.bb")
location.mount_enclosing_volume(*args,**kw) # The setup is not much relevant
location.get_path() # Returns None because it's not yet mounted since the call is async
얼마나 기다려야?