-
Notifications
You must be signed in to change notification settings - Fork 388
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix] Skip calling
get-status
for notebooks in Read after Create/Up…
…date operations It was found that `import` API returns `object_id` as result of its execution so we don't really need to call `get-status` to fill all attributes. This PR adds internal attribute `skip_get_status` that is set by Create/Update operations, and then checked in `Read` so we can avoid performing another API call. This should help in cases when we're importing a huge number of notebooks, i.e., as result of applying exported resources.
- Loading branch information
Showing
2 changed files
with
78 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters