René's URL Explorer Experiment


Title: feature: saving hierarchical entities in one transaction - batch mode on steroids · Issue #383 · shotgunsoftware/python-api · GitHub

Open Graph Title: feature: saving hierarchical entities in one transaction - batch mode on steroids · Issue #383 · shotgunsoftware/python-api

X Title: feature: saving hierarchical entities in one transaction - batch mode on steroids · Issue #383 · shotgunsoftware/python-api

Description: I think batch mode is great as it provides speed, saves roundtrips and is safe as a single transaction. What would be an awesome extension is being able to save hierarchies of related entities: batch_data = [ {"request_type": "create", "...

Open Graph Description: I think batch mode is great as it provides speed, saves roundtrips and is safe as a single transaction. What would be an awesome extension is being able to save hierarchies of related entities: bat...

X Description: I think batch mode is great as it provides speed, saves roundtrips and is safe as a single transaction. What would be an awesome extension is being able to save hierarchies of related entities: bat...

Opengraph URL: https://github.com/shotgunsoftware/python-api/issues/383

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feature: saving hierarchical entities in one transaction - batch mode on steroids","articleBody":"I think [batch mode](https://developers.shotgridsoftware.com/python-api/reference.html#shotgun_api3.shotgun.Shotgun.batch) is great as it provides speed, saves roundtrips and is safe as a single transaction.\n\nWhat would be an awesome extension is being able to save hierarchies of related entities:\n\n```python\nbatch_data = [\n  {\"request_type\": \"create\", \"entity_type\": \"Shot\", \"entity_id\": -1, \"data\": {\"code\": \"LAX_0001\", \"project\": project}},\n  {\"request_type\": \"create\", \"entity_type\": \"Shot\", \"entity_id\": -2, \"data\": {\"code\": \"LAX_0002\", \"project\": project}},\n  {\"request_type\": \"create\", \"entity_type\": \"Version\", \"data\": {\"code\": \"LAX_0001_v001\", \"entity\":{\"type\":\"shot\", \"id\":-1}}},\n  {\"request_type\": \"create\", \"entity_type\": \"Version\", \"data\": {\"code\": \"LAX_0001_v002\", \"entity\":{\"type\":\"shot\", \"id\":-1}}},\n  {\"request_type\": \"create\", \"entity_type\": \"Version\", \"data\": {\"code\": \"LAX_0002_v003\", \"entity\":{\"type\":\"shot\", \"id\":-2}}},\n]\nsg.batch(batch_data)\n```\n\nNo new fields are needed just negative ids and the \"only\" trick would be to save those entities with a negative id first so that the following ones can reference the generated id's.\n\nThanks for considering it! Maybe one day someone sets up a whole show in one transaction :)","author":{"url":"https://github.com/patrickwolf","@type":"Person","name":"patrickwolf"},"datePublished":"2025-05-22T05:36:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/383/python-api/issues/383"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:b251c09b-580a-51a0-9db3-d08d1cc6d266
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDB4E:24665B:48209AD:5EB2CD8:6992F147
html-safe-noncee0e17d4f1caa6d1d8400d7255af6ff0f1207115da3e39f2c8d247d317b8289ee
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjRFOjI0NjY1Qjo0ODIwOUFEOjVFQjJDRDg6Njk5MkYxNDciLCJ2aXNpdG9yX2lkIjoiNzUyNDUyMjg1MDI1MTg5NTExMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdfea92d1d1a759b29f69c02b1a41c99c18fd300b55877f81bc4b7399c035cc50
hovercard-subject-tagissue:3082110047
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/shotgunsoftware/python-api/383/issue_layout
twitter:imagehttps://opengraph.githubassets.com/48d3871ef31a29b4b481d1009fca69ccb4f56e7a61cd4ee8b1359dd45bad1486/shotgunsoftware/python-api/issues/383
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/48d3871ef31a29b4b481d1009fca69ccb4f56e7a61cd4ee8b1359dd45bad1486/shotgunsoftware/python-api/issues/383
og:image:altI think batch mode is great as it provides speed, saves roundtrips and is safe as a single transaction. What would be an awesome extension is being able to save hierarchies of related entities: bat...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepatrickwolf
hostnamegithub.com
expected-hostnamegithub.com
None01ab16879a3159e6f0717ab948b9b562e162a6aafd1f4393b786b07b747df244
turbo-cache-controlno-preview
go-importgithub.com/shotgunsoftware/python-api git https://github.com/shotgunsoftware/python-api.git
octolytics-dimension-user_id317894
octolytics-dimension-user_loginshotgunsoftware
octolytics-dimension-repository_id748742
octolytics-dimension-repository_nwoshotgunsoftware/python-api
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id748742
octolytics-dimension-repository_network_root_nwoshotgunsoftware/python-api
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb1570f3928bef80fa5fc7890ce0942e9b696ad9d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/shotgunsoftware/python-api/issues/383#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fshotgunsoftware%2Fpython-api%2Fissues%2F383
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fshotgunsoftware%2Fpython-api%2Fissues%2F383
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=shotgunsoftware%2Fpython-api
Reloadhttps://github.com/shotgunsoftware/python-api/issues/383
Reloadhttps://github.com/shotgunsoftware/python-api/issues/383
Reloadhttps://github.com/shotgunsoftware/python-api/issues/383
shotgunsoftware https://github.com/shotgunsoftware
python-apihttps://github.com/shotgunsoftware/python-api
Notifications https://github.com/login?return_to=%2Fshotgunsoftware%2Fpython-api
Fork 205 https://github.com/login?return_to=%2Fshotgunsoftware%2Fpython-api
Star 317 https://github.com/login?return_to=%2Fshotgunsoftware%2Fpython-api
Code https://github.com/shotgunsoftware/python-api
Issues 38 https://github.com/shotgunsoftware/python-api/issues
Pull requests 14 https://github.com/shotgunsoftware/python-api/pulls
Actions https://github.com/shotgunsoftware/python-api/actions
Projects 0 https://github.com/shotgunsoftware/python-api/projects
Models https://github.com/shotgunsoftware/python-api/models
Wiki https://github.com/shotgunsoftware/python-api/wiki
Security 0 https://github.com/shotgunsoftware/python-api/security
Insights https://github.com/shotgunsoftware/python-api/pulse
Code https://github.com/shotgunsoftware/python-api
Issues https://github.com/shotgunsoftware/python-api/issues
Pull requests https://github.com/shotgunsoftware/python-api/pulls
Actions https://github.com/shotgunsoftware/python-api/actions
Projects https://github.com/shotgunsoftware/python-api/projects
Models https://github.com/shotgunsoftware/python-api/models
Wiki https://github.com/shotgunsoftware/python-api/wiki
Security https://github.com/shotgunsoftware/python-api/security
Insights https://github.com/shotgunsoftware/python-api/pulse
New issuehttps://github.com/login?return_to=https://github.com/shotgunsoftware/python-api/issues/383
New issuehttps://github.com/login?return_to=https://github.com/shotgunsoftware/python-api/issues/383
feature: saving hierarchical entities in one transaction - batch mode on steroidshttps://github.com/shotgunsoftware/python-api/issues/383#top
https://github.com/patrickwolf
https://github.com/patrickwolf
patrickwolfhttps://github.com/patrickwolf
on May 22, 2025https://github.com/shotgunsoftware/python-api/issues/383#issue-3082110047
batch modehttps://developers.shotgridsoftware.com/python-api/reference.html#shotgun_api3.shotgun.Shotgun.batch
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.