Jeff Meadows
Jeff Meadows
> Put another way: If the Preflight just throws a 409 and logs a warning, I don't see how that is different to simply calling folder.upload() and letting it throw...
The stream processing case is already possible with the `download_to` method, by simply subclassing `io.BytesIO`. from io import BytesIO class StreamingWritesBytesIO(BytesIO): def __init__(self, on_write): super().__init__() self._on_write = on_write def write(self,...
You can subclass the `OAuth2` class and override its `_get_csrf_token` method to return whatever you want.
The redirect_uri field in your app's configuration needs to be set to `http://localhost`. This appears to be a change on Box's side - this worked when the demo was written,...
The Stackoverflow question you linked presents one solution to what seems to be the underlying problem: the package being built and deployed to Lambda isn't compatible with its infrastructure/runtime. `boxsdk[jwt]`...
The admin events API doesn't actually support long polling (see. https://box.dev/guides/events/enterprise-events/for-enterprise/#limitations), so it's probably not appropriate to truly implement `generate_events_with_long_polling` for admin events. It looks like the Node SDK just...
@justineyster - it's hard to say if Node is a better option than Python without knowing more about your use case. By default, the Python SDK makes all of its...
I think you can accomplish this with the current API, by creating a custom lock-like object that calls your `SELECT .. FOR UPDATE` and saves the tokens as state on...
The SDK tries to handle token refresh automatically. If a client makes a request and the Box API indicates that the access token it used to make the request has...
What I meant is that the SDK automatically refreshes when needed. And you can pass a callback into `store_tokens` to be made aware of when it happens, so you can...