René's URL Explorer Experiment


Title: Pydantic, exclude_defaults=True re-add `apiVersion` and `kind` by haarchri · Pull Request #114 · crossplane/function-sdk-python · GitHub

Open Graph Title: Pydantic, exclude_defaults=True re-add `apiVersion` and `kind` by haarchri · Pull Request #114 · crossplane/function-sdk-python

X Title: Pydantic, exclude_defaults=True re-add `apiVersion` and `kind` by haarchri · Pull Request #114 · 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: Description of your changes In Pydantic, exclude_defaults=True in model_dump excludes fields that have their value equal to the default. If a field like apiVersion is set to its default value '...

X Description: Description of your changes In Pydantic, exclude_defaults=True in model_dump excludes fields that have their value equal to the default. If a field like apiVersion is set to its default value &...

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

X: @github

direct link

Domain: 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:7fd5c85c-3401-3678-0e57-61ef55306a60
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC9F0:425E5:2BB40B9:3CB8E95:6A60C2C8
html-safe-noncedcb66ef694fd6191f12471968a28280e1864779603c8d95f5ebae34c4c798b82
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOUYwOjQyNUU1OjJCQjQwQjk6M0NCOEU5NTo2QTYwQzJDOCIsInZpc2l0b3JfaWQiOiI4MTA4MjYxMDg5NjQ0NDMwMDI0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacdb5578e476da837dcc34dc68f84e28be7fdb7b46de78b9894a2a1455cab259a0
hovercard-subject-tagpull_request:2262232478
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/114/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ed4b6e1db0677c4077f500af8cfd40b30bd7f7b45271b88afb9b65ab6ef46a26/crossplane/function-sdk-python/pull/114
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ed4b6e1db0677c4077f500af8cfd40b30bd7f7b45271b88afb9b65ab6ef46a26/crossplane/function-sdk-python/pull/114
og:image:altDescription of your changes In Pydantic, exclude_defaults=True in model_dump excludes fields that have their value equal to the default. If a field like apiVersion is set to its default value '...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehaarchri
hostnamegithub.com
expected-hostnamegithub.com
Nonee30aeaafb59b2438b8b0aaa24f4c6777e8e86dae0737625adfc928cac5443cd5
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
release34b43e23ce2dc970fbfce25d0e96500f2af8266d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/crossplane/function-sdk-python/pull/114#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcrossplane%2Ffunction-sdk-python%2Fpull%2F114
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcrossplane%2Ffunction-sdk-python%2Fpull%2F114
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=crossplane%2Ffunction-sdk-python
Reloadhttps://github.com/crossplane/function-sdk-python/pull/114
Reloadhttps://github.com/crossplane/function-sdk-python/pull/114
Reloadhttps://github.com/crossplane/function-sdk-python/pull/114
Please reload this pagehttps://github.com/crossplane/function-sdk-python/pull/114
crossplane https://github.com/crossplane
function-sdk-pythonhttps://github.com/crossplane/function-sdk-python
Notifications https://github.com/login?return_to=%2Fcrossplane%2Ffunction-sdk-python
Fork 14 https://github.com/login?return_to=%2Fcrossplane%2Ffunction-sdk-python
Star 13 https://github.com/login?return_to=%2Fcrossplane%2Ffunction-sdk-python
Code https://github.com/crossplane/function-sdk-python
Issues 6 https://github.com/crossplane/function-sdk-python/issues
Pull requests 1 https://github.com/crossplane/function-sdk-python/pulls
Actions https://github.com/crossplane/function-sdk-python/actions
Projects https://github.com/crossplane/function-sdk-python/projects
Security and quality 0 https://github.com/crossplane/function-sdk-python/security
Insights https://github.com/crossplane/function-sdk-python/pulse
Code https://github.com/crossplane/function-sdk-python
Issues https://github.com/crossplane/function-sdk-python/issues
Pull requests https://github.com/crossplane/function-sdk-python/pulls
Actions https://github.com/crossplane/function-sdk-python/actions
Projects https://github.com/crossplane/function-sdk-python/projects
Security and quality https://github.com/crossplane/function-sdk-python/security
Insights https://github.com/crossplane/function-sdk-python/pulse
negzhttps://github.com/negz
crossplane:mainhttps://github.com/crossplane/function-sdk-python/tree/main
haarchri:testhttps://github.com/haarchri/function-sdk-python/tree/test
Conversationhttps://github.com/crossplane/function-sdk-python/pull/114
Commits1 (1)https://github.com/crossplane/function-sdk-python/pull/114/commits
Checkshttps://github.com/crossplane/function-sdk-python/pull/114/checks
Files changedhttps://github.com/crossplane/function-sdk-python/pull/114/files
Pydantic, exclude_defaults=True re-add apiVersion and kindhttps://github.com/crossplane/function-sdk-python/pull/114#top
negzhttps://github.com/negz
crossplane:mainhttps://github.com/crossplane/function-sdk-python/tree/main
haarchri:testhttps://github.com/haarchri/function-sdk-python/tree/test
https://github.com/haarchri
haarchrihttps://github.com/haarchri
Jan 6, 2025https://github.com/crossplane/function-sdk-python/pull/114#issue-2770975805
contribution processhttps://git.io/fj2m9
Please reload this pagehttps://github.com/crossplane/function-sdk-python/pull/114
https://github.com/haarchri
fix(defaults): add apiVersion and kindhttps://github.com/crossplane/function-sdk-python/pull/114/commits/70e86c0d30a93a64750d29f0b3f1b04543439eee
70e86c0https://github.com/crossplane/function-sdk-python/pull/114/commits/70e86c0d30a93a64750d29f0b3f1b04543439eee
https://github.com/haarchri
haarchrihttps://github.com/haarchri
force-pushedhttps://github.com/crossplane/function-sdk-python/compare/4776545f728e88e37ac051842e71bcf9fe6ac639..70e86c0d30a93a64750d29f0b3f1b04543439eee
4776545https://github.com/crossplane/function-sdk-python/commit/4776545f728e88e37ac051842e71bcf9fe6ac639
70e86c0https://github.com/crossplane/function-sdk-python/commit/70e86c0d30a93a64750d29f0b3f1b04543439eee
Compare https://github.com/crossplane/function-sdk-python/compare/4776545f728e88e37ac051842e71bcf9fe6ac639..70e86c0d30a93a64750d29f0b3f1b04543439eee
January 6, 2025 16:10https://github.com/crossplane/function-sdk-python/pull/114#event-15828073565
https://github.com/negz
negzhttps://github.com/negz
Jan 6, 2025 https://github.com/crossplane/function-sdk-python/pull/114#pullrequestreview-2532854992
View reviewed changes https://github.com/crossplane/function-sdk-python/pull/114/files/70e86c0d30a93a64750d29f0b3f1b04543439eee
crossplane/function/resource.pyhttps://github.com/crossplane/function-sdk-python/pull/114/files/70e86c0d30a93a64750d29f0b3f1b04543439eee#diff-05f183177eba52e1720d1fb16381620d80c3a5f071a87aa09b57177df0f33934
negzhttps://github.com/negz
Jan 6, 2025https://github.com/crossplane/function-sdk-python/pull/114#discussion_r1904570199
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/crossplane/function-sdk-python/pull/114
negzhttps://github.com/negz
Jan 6, 2025https://github.com/crossplane/function-sdk-python/pull/114#discussion_r1904571800
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/crossplane/function-sdk-python/pull/114
haarchrihttps://github.com/haarchri
Jan 6, 2025https://github.com/crossplane/function-sdk-python/pull/114#discussion_r1904586632
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/crossplane/function-sdk-python/pull/114
haarchrihttps://github.com/haarchri
Jan 7, 2025https://github.com/crossplane/function-sdk-python/pull/114#discussion_r1904986986
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/crossplane/function-sdk-python/pull/114
https://github.com/negz
negzhttps://github.com/negz
Jan 7, 2025 https://github.com/crossplane/function-sdk-python/pull/114#pullrequestreview-2535172919
View reviewed changes https://github.com/crossplane/function-sdk-python/pull/114/files/70e86c0d30a93a64750d29f0b3f1b04543439eee
https://github.com/negz
negzhttps://github.com/negz
Jan 8, 2025https://github.com/crossplane/function-sdk-python/pull/114#issuecomment-2578444544
Please reload this pagehttps://github.com/crossplane/function-sdk-python/pull/114
https://github.com/negz
negzhttps://github.com/negz
d4b3506https://github.com/crossplane/function-sdk-python/commit/d4b3506ec7a2cb748d252bb80853a2eef0206bf8
Jan 8, 2025https://github.com/crossplane/function-sdk-python/pull/114#event-15858633729
https://github.com/negz
negzhttps://github.com/negz
Jun 4, 2026 https://github.com/crossplane/function-sdk-python/pull/114#ref-issue-4584584320
Serialize models with exclude_unset, not exclude_defaults #207 https://github.com/crossplane/function-sdk-python/issues/207
https://github.co/hiddenchars
https://github.com/crossplane/function-sdk-python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcrossplane%2Ffunction-sdk-python%2Fpull%2F114
https://github.com/negz
negz https://github.com/negz
https://github.com/crossplane/function-sdk-python/pull/114/files/70e86c0d30a93a64750d29f0b3f1b04543439eee
Please reload this pagehttps://github.com/crossplane/function-sdk-python/pull/114
https://github.com/haarchri
https://github.com/negz
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.