René's URL Explorer Experiment


Title: fix(entities): implement __hash__ and __repr__ for EntityInstanceId by hardikkaurani · Pull Request #309 · microsoft/durabletask-python · GitHub

Open Graph Title: fix(entities): implement __hash__ and __repr__ for EntityInstanceId by hardikkaurani · Pull Request #309 · microsoft/durabletask-python

X Title: fix(entities): implement __hash__ and __repr__ for EntityInstanceId by hardikkaurani · Pull Request #309 · microsoft/durabletask-python

Description: Summary Implements __hash__ for EntityInstanceId using hash((self.entity, self.key)), allowing instances to be stored in sets and used as dictionary keys without raising TypeError: unhashable type. Implements __repr__ to provide readable, informative debugging output. Adds unit tests covering hash consistency with case-insensitive entity normalization, set deduplication, dictionary key lookups, and repr formatting. Updates CHANGELOG.md under the Unreleased section. Validation All 1,345 durabletask unit and integration tests passed with zero regressions.

Open Graph Description: Summary Implements __hash__ for EntityInstanceId using hash((self.entity, self.key)), allowing instances to be stored in sets and used as dictionary keys without raising TypeError: unhashable type...

X Description: Summary Implements __hash__ for EntityInstanceId using hash((self.entity, self.key)), allowing instances to be stored in sets and used as dictionary keys without raising TypeError: unhashable type...

Opengraph URL: https://github.com/microsoft/durabletask-python/pull/309

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:4c6f9788-f3e2-fede-79e7-70e8d578081f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA578:24DEFD:378DC:4758C:6AFE2E78
html-safe-nonce7b0143520cfecd7ef045eaa4ac7d663e6d10821f594b430b8f536f1fefe643f5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTc4OjI0REVGRDozNzhEQzo0NzU4Qzo2QUZFMkU3OCIsInZpc2l0b3JfaWQiOiIzNTA2NDU0NTI2ODAwMzA5ODgwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac15b54a0a2dd5a74bb7f6ed294ef21c21ef5f656b220417ccb10bbb1808127ced
hovercard-subject-tagpull_request:4963185103
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/microsoft/durabletask-python/pull/309/files
twitter:imagehttps://avatars.githubusercontent.com/u/224249943?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/224249943?s=400&v=4
og:image:altSummary Implements __hash__ for EntityInstanceId using hash((self.entity, self.key)), allowing instances to be stored in sets and used as dictionary keys without raising TypeError: unhashable type...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonee973f9ec3625f3faad8cac5c2d11a214b7ffe45f3cc563b828459b290ecaeed3
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/microsoft/durabletask-python git https://github.com/microsoft/durabletask-python.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id627664515
octolytics-dimension-repository_nwomicrosoft/durabletask-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id627664515
octolytics-dimension-repository_network_root_nwomicrosoft/durabletask-python
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release1f92c367595b9190e0be293896078033886b1913
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/durabletask-python/pull/309/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fdurabletask-python%2Fpull%2F309%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fdurabletask-python%2Fpull%2F309%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=microsoft%2Fdurabletask-python
Reloadhttps://github.com/microsoft/durabletask-python/pull/309/files
Reloadhttps://github.com/microsoft/durabletask-python/pull/309/files
Reloadhttps://github.com/microsoft/durabletask-python/pull/309/files
microsofthttps://github.com/microsoft
durabletask-pythonhttps://github.com/microsoft/durabletask-python
Codehttps://github.com/microsoft/durabletask-python
Issues15 (15)https://github.com/microsoft/durabletask-python/issues
Pull requests12 (12)https://github.com/microsoft/durabletask-python/pulls
Actionshttps://github.com/microsoft/durabletask-python/actions
Projectshttps://github.com/microsoft/durabletask-python/projects
Security and qualityhttps://github.com/microsoft/durabletask-python/security
Insightshttps://github.com/microsoft/durabletask-python/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fmicrosoft%2Fdurabletask-python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmicrosoft%2Fdurabletask-python%2Fissues%2Fnew%2Fchoose
andystapleshttps://github.com/andystaples
microsoft:mainhttps://github.com/microsoft/durabletask-python/tree/main
hardikkaurani:fix/entity-instance-id-hash-reprhttps://github.com/hardikkaurani/durabletask-python/tree/fix/entity-instance-id-hash-repr
Conversation 12 https://github.com/microsoft/durabletask-python/pull/309
Commits 3 https://github.com/microsoft/durabletask-python/pull/309/commits
Checks 26 https://github.com/microsoft/durabletask-python/pull/309/checks
Files changed https://github.com/microsoft/durabletask-python/pull/309/files
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/309/files
fix(entities): implement __hash__ and __repr__ for EntityInstanceId https://github.com/microsoft/durabletask-python/pull/309/files#top
Show all changes 3 commits https://github.com/microsoft/durabletask-python/pull/309/files
2dbbb6d fix(entities): implement __hash__ and __repr__ for EntityInstanceId hardikkaurani Oct 22, 2026 https://github.com/microsoft/durabletask-python/pull/309/commits/2dbbb6d4d8c3e8c9ea585c000a6b2cb80f09b30c
03aa06a fix(entities): enforce immutability on EntityInstanceId for hash stab… hardikkaurani Oct 23, 2026 https://github.com/microsoft/durabletask-python/pull/309/commits/03aa06a9997c15b1b4e5448e29786f222c454df0
83948ee fix(entities): preserve subclass type when pickling hardikkaurani Oct 23, 2026 https://github.com/microsoft/durabletask-python/pull/309/commits/83948ee9d0e6f00846c15f43a99ea0eb449f4e37
Clear filters https://github.com/microsoft/durabletask-python/pull/309/files
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/309/files
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/309/files
CHANGELOG.md https://github.com/microsoft/durabletask-python/pull/309/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
entity_instance_id.py https://github.com/microsoft/durabletask-python/pull/309/files#diff-9c62803bdfef4d5197ae86aeee224cfb9da7e15811d1f515fc04092b3498b848
test_client_compat.py https://github.com/microsoft/durabletask-python/pull/309/files#diff-d55c307b8bbd860c626a5b32772d4ea7a755f687ba2acab022f5b23f9cfc1c12
test_entity_id_parsing.py https://github.com/microsoft/durabletask-python/pull/309/files#diff-030676fe49e7048fd2ca6ea7df7fd40d40cd43e63e80036c217779e0af996703
CHANGELOG.mdhttps://github.com/microsoft/durabletask-python/pull/309/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
View file https://github.com/hardikkaurani/durabletask-python/blob/83948ee9d0e6f00846c15f43a99ea0eb449f4e37/CHANGELOG.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/309/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/309/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
https://github.com/microsoft/durabletask-python/pull/309/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
durabletask/entities/entity_instance_id.pyhttps://github.com/microsoft/durabletask-python/pull/309/files#diff-9c62803bdfef4d5197ae86aeee224cfb9da7e15811d1f515fc04092b3498b848
View file https://github.com/hardikkaurani/durabletask-python/blob/83948ee9d0e6f00846c15f43a99ea0eb449f4e37/durabletask/entities/entity_instance_id.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/309/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/309/files#diff-9c62803bdfef4d5197ae86aeee224cfb9da7e15811d1f515fc04092b3498b848
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/309/files
https://github.com/microsoft/durabletask-python/pull/309/files#diff-9c62803bdfef4d5197ae86aeee224cfb9da7e15811d1f515fc04092b3498b848
tests/azure-functions-durable/test_client_compat.pyhttps://github.com/microsoft/durabletask-python/pull/309/files#diff-d55c307b8bbd860c626a5b32772d4ea7a755f687ba2acab022f5b23f9cfc1c12
View file https://github.com/hardikkaurani/durabletask-python/blob/83948ee9d0e6f00846c15f43a99ea0eb449f4e37/tests/azure-functions-durable/test_client_compat.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/309/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/309/files#diff-d55c307b8bbd860c626a5b32772d4ea7a755f687ba2acab022f5b23f9cfc1c12
https://github.com/microsoft/durabletask-python/pull/309/files#diff-d55c307b8bbd860c626a5b32772d4ea7a755f687ba2acab022f5b23f9cfc1c12
https://github.com/microsoft/durabletask-python/pull/309/files#diff-d55c307b8bbd860c626a5b32772d4ea7a755f687ba2acab022f5b23f9cfc1c12
https://github.com/microsoft/durabletask-python/pull/309/files#diff-d55c307b8bbd860c626a5b32772d4ea7a755f687ba2acab022f5b23f9cfc1c12
tests/durabletask/entities/test_entity_id_parsing.pyhttps://github.com/microsoft/durabletask-python/pull/309/files#diff-030676fe49e7048fd2ca6ea7df7fd40d40cd43e63e80036c217779e0af996703
View file https://github.com/hardikkaurani/durabletask-python/blob/83948ee9d0e6f00846c15f43a99ea0eb449f4e37/tests/durabletask/entities/test_entity_id_parsing.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/durabletask-python/pull/309/{{ revealButtonHref }}
https://github.com/microsoft/durabletask-python/pull/309/files#diff-030676fe49e7048fd2ca6ea7df7fd40d40cd43e63e80036c217779e0af996703
https://github.com/microsoft/durabletask-python/pull/309/files#diff-030676fe49e7048fd2ca6ea7df7fd40d40cd43e63e80036c217779e0af996703
Please reload this pagehttps://github.com/microsoft/durabletask-python/pull/309/files
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.