René's URL Explorer Experiment


Title: Serialize models with exclude_unset, not exclude_defaults by negz · Pull Request #208 · crossplane/function-sdk-python · GitHub

Open Graph Title: Serialize models with exclude_unset, not exclude_defaults by negz · Pull Request #208 · crossplane/function-sdk-python

X Title: Serialize models with exclude_unset, not exclude_defaults by negz · Pull Request #208 · crossplane/function-sdk-python

Description: The Python SDK for composition functions. Contribute to crossplane/function-sdk-python development by creating an account on GitHub.

Open Graph Description: Fixes #207 Fixes #210 resource.update and resource.update_status serialized Pydantic models with model_dump(exclude_defaults=True). This PR makes two related corrections to how those functions seri...

X Description: Fixes #207 Fixes #210 resource.update and resource.update_status serialized Pydantic models with model_dump(exclude_defaults=True). This PR makes two related corrections to how those functions seri...

Opengraph URL: https://github.com/crossplane/function-sdk-python/pull/208

X: @github

direct link

Domain: redirect.github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:f58dd549-3703-f876-b4ef-aeb783a6a692
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA52E:2B96DA:1FEDDE1:2C6CAD9:6A5F3F43
html-safe-nonce20c57ca9d40ad49e00b1cc60ae791ae25fe0388dbad5b0eddefa47de7ce1b673
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTJFOjJCOTZEQToxRkVEREUxOjJDNkNBRDk6NkE1RjNGNDMiLCJ2aXNpdG9yX2lkIjoiODY4Nzk0ODc0OTY2MTQ4NjkxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7235998bdf8f722c4b0d085a803c301308a6ddb4ca0183c393156432b2ffd4ad
hovercard-subject-tagpull_request:3799550577
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/crossplane/function-sdk-python/208/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6e513083ce356732cea8624afbb5be3c154336e5f502c5bd8e0542ba2b8575e0/crossplane/function-sdk-python/pull/208
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6e513083ce356732cea8624afbb5be3c154336e5f502c5bd8e0542ba2b8575e0/crossplane/function-sdk-python/pull/208
og:image:altFixes #207 Fixes #210 resource.update and resource.update_status serialized Pydantic models with model_dump(exclude_defaults=True). This PR makes two related corrections to how those functions seri...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamenegz
hostnamegithub.com
expected-hostnamegithub.com
Noneab2497d9345a59709926b385d88458fa5932c82ec066288448eb68b34cbcbbda
turbo-cache-controlno-cache
go-importgithub.com/crossplane/function-sdk-python git https://github.com/crossplane/function-sdk-python.git
octolytics-dimension-user_id45158470
octolytics-dimension-user_logincrossplane
octolytics-dimension-repository_id721365259
octolytics-dimension-repository_nwocrossplane/function-sdk-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id721365259
octolytics-dimension-repository_network_root_nwocrossplane/function-sdk-python
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
releaseba0ac57287507693938b0a2de45402a22cda0785
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://redirect.github.com/crossplane/function-sdk-python/pull/208#start-of-content
https://redirect.github.com/
Sign in https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcrossplane%2Ffunction-sdk-python%2Fpull%2F208
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcrossplane%2Ffunction-sdk-python%2Fpull%2F208
Sign up https://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=crossplane%2Ffunction-sdk-python
Reloadhttps://redirect.github.com/crossplane/function-sdk-python/pull/208
Reloadhttps://redirect.github.com/crossplane/function-sdk-python/pull/208
Reloadhttps://redirect.github.com/crossplane/function-sdk-python/pull/208
Please reload this pagehttps://redirect.github.com/crossplane/function-sdk-python/pull/208
crossplane https://redirect.github.com/crossplane
function-sdk-pythonhttps://redirect.github.com/crossplane/function-sdk-python
Notifications https://redirect.github.com/login?return_to=%2Fcrossplane%2Ffunction-sdk-python
Fork 14 https://redirect.github.com/login?return_to=%2Fcrossplane%2Ffunction-sdk-python
Star 13 https://redirect.github.com/login?return_to=%2Fcrossplane%2Ffunction-sdk-python
Code https://redirect.github.com/crossplane/function-sdk-python
Issues 6 https://redirect.github.com/crossplane/function-sdk-python/issues
Pull requests 1 https://redirect.github.com/crossplane/function-sdk-python/pulls
Actions https://redirect.github.com/crossplane/function-sdk-python/actions
Projects https://redirect.github.com/crossplane/function-sdk-python/projects
Security and quality 0 https://redirect.github.com/crossplane/function-sdk-python/security
Insights https://redirect.github.com/crossplane/function-sdk-python/pulse
Code https://redirect.github.com/crossplane/function-sdk-python
Issues https://redirect.github.com/crossplane/function-sdk-python/issues
Pull requests https://redirect.github.com/crossplane/function-sdk-python/pulls
Actions https://redirect.github.com/crossplane/function-sdk-python/actions
Projects https://redirect.github.com/crossplane/function-sdk-python/projects
Security and quality https://redirect.github.com/crossplane/function-sdk-python/security
Insights https://redirect.github.com/crossplane/function-sdk-python/pulse
negzhttps://redirect.github.com/negz
crossplane:mainhttps://redirect.github.com/crossplane/function-sdk-python/tree/main
negz:best-left-unsethttps://redirect.github.com/negz/function-sdk-python/tree/best-left-unset
Conversationhttps://redirect.github.com/crossplane/function-sdk-python/pull/208
Commits2 (2)https://redirect.github.com/crossplane/function-sdk-python/pull/208/commits
Checkshttps://redirect.github.com/crossplane/function-sdk-python/pull/208/checks
Files changedhttps://redirect.github.com/crossplane/function-sdk-python/pull/208/files
Serialize models with exclude_unset, not exclude_defaultshttps://redirect.github.com/crossplane/function-sdk-python/pull/208#top
negzhttps://redirect.github.com/negz
crossplane:mainhttps://redirect.github.com/crossplane/function-sdk-python/tree/main
negz:best-left-unsethttps://redirect.github.com/negz/function-sdk-python/tree/best-left-unset
https://redirect.github.com/negz
negzhttps://redirect.github.com/negz
Jun 4, 2026https://redirect.github.com/crossplane/function-sdk-python/pull/208#issue-4584718374
Please reload this pagehttps://redirect.github.com/crossplane/function-sdk-python/pull/208
#207https://github.com/crossplane/function-sdk-python/issues/207
#210https://github.com/crossplane/function-sdk-python/issues/210
crossplane/cli#64 (comment)https://github.com/crossplane/cli/pull/64#issuecomment-4616492554
contribution processhttps://git.io/fj2m9
Please reload this pagehttps://redirect.github.com/crossplane/function-sdk-python/pull/208
https://redirect.github.com/negz
negzhttps://redirect.github.com/negz
bobh66https://redirect.github.com/bobh66
code ownerhttps://redirect.github.com/crossplane/function-sdk-python/blob/8392a411c248c853c8fb1cfb63d906c319219ceb/CODEOWNERS#L22
June 4, 2026 00:33https://redirect.github.com/crossplane/function-sdk-python/pull/208#event-26314186862
https://redirect.github.com/negz
negzhttps://redirect.github.com/negz
force-pushedhttps://redirect.github.com/crossplane/function-sdk-python/compare/8b0492694efb1ce585b2851591f57da827d975ee..fa72dd044faaef8632f6b4a4e793654302e2c2d1
8b04926https://redirect.github.com/crossplane/function-sdk-python/commit/8b0492694efb1ce585b2851591f57da827d975ee
fa72dd0https://redirect.github.com/crossplane/function-sdk-python/commit/fa72dd044faaef8632f6b4a4e793654302e2c2d1
Compare https://redirect.github.com/crossplane/function-sdk-python/compare/8b0492694efb1ce585b2851591f57da827d975ee..fa72dd044faaef8632f6b4a4e793654302e2c2d1
June 4, 2026 00:39https://redirect.github.com/crossplane/function-sdk-python/pull/208#event-26314341852
https://redirect.github.com/negz
negzhttps://redirect.github.com/negz
Jun 4, 2026https://redirect.github.com/crossplane/function-sdk-python/pull/208#issuecomment-4617949226
Please reload this pagehttps://redirect.github.com/crossplane/function-sdk-python/pull/208
negzhttps://redirect.github.com/negz
Jun 4, 2026 https://redirect.github.com/crossplane/function-sdk-python/pull/208#ref-commit-9c4313f
https://redirect.github.com/negz
Pin function SDK to exclude_unset serializationhttps://redirect.github.com/modelplaneai/modelplane/commit/9c4313f09d7fd1b5357da662de5eca9750089ff7
9c4313fhttps://redirect.github.com/modelplaneai/modelplane/commit/9c4313f09d7fd1b5357da662de5eca9750089ff7
crossplane/function-sdk-python#208https://github.com/crossplane/function-sdk-python/pull/208
#208https://github.com/modelplaneai/modelplane/issues/208
Fix Python schema generation for fields named int or bool crossplane/cli#64 https://redirect.github.com/crossplane/cli/pull/64
Bump Python function template to the SDK release with exclude_unset fix crossplane/cli#79 https://redirect.github.com/crossplane/cli/issues/79
Match hardware as DRA-style devices and form DRA ResourceClaims modelplaneai/modelplane#101 https://redirect.github.com/modelplaneai/modelplane/pull/101
https://redirect.github.com/bobh66
bobh66https://redirect.github.com/bobh66
Jun 6, 2026 https://redirect.github.com/crossplane/function-sdk-python/pull/208#pullrequestreview-4442992584
View reviewed changes https://redirect.github.com/crossplane/function-sdk-python/pull/208/files
bobh66https://redirect.github.com/bobh66
https://redirect.github.com/crossplane/function-sdk-python/pull/208#pullrequestreview-4442992584
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://redirect.github.com/crossplane/function-sdk-python/pull/208
https://redirect.github.com/negz
negzhttps://redirect.github.com/negz
Jun 8, 2026 https://redirect.github.com/crossplane/function-sdk-python/pull/208#ref-issue-4616261865
resource.update doesn't pass by_alias, mangling keyword-named fields #210 https://redirect.github.com/crossplane/function-sdk-python/issues/210
https://redirect.github.com/negz
negzhttps://redirect.github.com/negz
force-pushedhttps://redirect.github.com/crossplane/function-sdk-python/compare/fa72dd044faaef8632f6b4a4e793654302e2c2d1..f139587bb218c4247d6a77e31fcc3c7ab7432c47
fa72dd0https://redirect.github.com/crossplane/function-sdk-python/commit/fa72dd044faaef8632f6b4a4e793654302e2c2d1
f139587https://redirect.github.com/crossplane/function-sdk-python/commit/f139587bb218c4247d6a77e31fcc3c7ab7432c47
Compare https://redirect.github.com/crossplane/function-sdk-python/compare/fa72dd044faaef8632f6b4a4e793654302e2c2d1..f139587bb218c4247d6a77e31fcc3c7ab7432c47
June 8, 2026 20:38https://redirect.github.com/crossplane/function-sdk-python/pull/208#event-26491186816
negzhttps://redirect.github.com/negz
June 8, 2026 13:38https://redirect.github.com/crossplane/function-sdk-python/pull/208#commits-pushed-572ae75
https://redirect.github.com/negz
Serialize models with exclude_unset, not exclude_defaultshttps://redirect.github.com/crossplane/function-sdk-python/pull/208/commits/572ae7589a04cf10b94e43176138aaa9eb042d1b
572ae75https://redirect.github.com/crossplane/function-sdk-python/pull/208/commits/572ae7589a04cf10b94e43176138aaa9eb042d1b
crossplane#207https://github.com/crossplane/function-sdk-python/issues/207
https://redirect.github.com/negz
Pass by_alias when serializing models in update and update_statushttps://redirect.github.com/crossplane/function-sdk-python/pull/208/commits/d18cbbb481bb9859b2f58625050d6482201cc021
d18cbbbhttps://redirect.github.com/crossplane/function-sdk-python/pull/208/commits/d18cbbb481bb9859b2f58625050d6482201cc021
crossplane#210https://github.com/crossplane/function-sdk-python/issues/210
https://redirect.github.com/negz
negzhttps://redirect.github.com/negz
force-pushedhttps://redirect.github.com/crossplane/function-sdk-python/compare/f139587bb218c4247d6a77e31fcc3c7ab7432c47..d18cbbb481bb9859b2f58625050d6482201cc021
f139587https://redirect.github.com/crossplane/function-sdk-python/commit/f139587bb218c4247d6a77e31fcc3c7ab7432c47
d18cbbbhttps://redirect.github.com/crossplane/function-sdk-python/commit/d18cbbb481bb9859b2f58625050d6482201cc021
Compare https://redirect.github.com/crossplane/function-sdk-python/compare/f139587bb218c4247d6a77e31fcc3c7ab7432c47..d18cbbb481bb9859b2f58625050d6482201cc021
June 8, 2026 20:38https://redirect.github.com/crossplane/function-sdk-python/pull/208#event-26491207127
https://redirect.github.com/negz
negzhttps://redirect.github.com/negz
ad6f1e1https://redirect.github.com/crossplane/function-sdk-python/commit/ad6f1e1c18b6cd698465cfb3cb624f6acc73fcdf
Jun 8, 2026https://github.com/crossplane/function-sdk-python/pull/208#event-26491331772
Please reload this pagehttps://redirect.github.com/crossplane/function-sdk-python/pull/208
https://redirect.github.com/negz
negzhttps://redirect.github.com/negz
June 8, 2026 20:42https://redirect.github.com/crossplane/function-sdk-python/pull/208#event-26491334559
https://github.co/hiddenchars
https://redirect.github.com/crossplane/function-sdk-python/pull/{{ revealButtonHref }}
Sign up for freehttps://redirect.github.com/join?source=comment-repo
Sign in to commenthttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcrossplane%2Ffunction-sdk-python%2Fpull%2F208
https://redirect.github.com/bobh66
bobh66 https://redirect.github.com/bobh66
https://redirect.github.com/crossplane/function-sdk-python/pull/208/files/fa72dd044faaef8632f6b4a4e793654302e2c2d1
resource.update doesn't pass by_alias, mangling keyword-named fields https://github.com/crossplane/function-sdk-python/issues/210
Serialize models with exclude_unset, not exclude_defaults https://github.com/crossplane/function-sdk-python/issues/207
Please reload this pagehttps://redirect.github.com/crossplane/function-sdk-python/pull/208
https://redirect.github.com/negz
https://redirect.github.com/bobh66
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.