Skip to content

Commit 37b6d9c

Browse files
committed
auth headers for fs operation
1 parent 5a66fd1 commit 37b6d9c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

packages/python-sdk/e2b/sandbox_sync/filesystem/filesystem.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,10 @@ def watch_dir(
446446
request_timeout=self._connection_config.get_request_timeout(
447447
request_timeout
448448
),
449-
headers=authentication_header(user),
449+
headers={
450+
**authentication_header(user),
451+
KEEPALIVE_PING_HEADER: str(KEEPALIVE_PING_INTERVAL_SEC),
452+
}
450453
)
451454
except Exception as e:
452455
raise handle_rpc_exception(e)

0 commit comments

Comments
 (0)