Title: cache empty result for picklist label retrieval in _ODataClient by pkontek · Pull Request #83 · microsoft/PowerPlatform-DataverseClient-Python · GitHub
Open Graph Title: cache empty result for picklist label retrieval in _ODataClient by pkontek · Pull Request #83 · microsoft/PowerPlatform-DataverseClient-Python
X Title: cache empty result for picklist label retrieval in _ODataClient by pkontek · Pull Request #83 · microsoft/PowerPlatform-DataverseClient-Python
Description: This pull request updates the _optionset_map method to cache empty results instead of returning None when no items are found. This change ensures that empty lookups are cached, which can improve performance by avoiding repeated queries for missing option sets. Caching improvements: Modified _optionset_map in src/PowerPlatform/Dataverse/data/_odata.py to cache empty results in _picklist_label_cache and return an empty dictionary instead of None when no items are found.
Open Graph Description: This pull request updates the _optionset_map method to cache empty results instead of returning None when no items are found. This change ensures that empty lookups are cached, which can improve pe...
X Description: This pull request updates the _optionset_map method to cache empty results instead of returning None when no items are found. This change ensures that empty lookups are cached, which can improve pe...
Opengraph URL: https://github.com/microsoft/PowerPlatform-DataverseClient-Python/pull/83
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c63f42e1-4eb6-fcff-1707-6874510858de |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C612:2FA5EC:C2A579:10BB735:6A4DC435 |
| html-safe-nonce | 9cd0800da6a7df35115dc7688c405880aa380a6234b91b572c35c863c8b4f2ff |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjEyOjJGQTVFQzpDMkE1Nzk6MTBCQjczNTo2QTREQzQzNSIsInZpc2l0b3JfaWQiOiIyMzI3MjEwNDM3ODA2NTAwMzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 31b424f4133efdb9d26bf97fcebbdebe1540d7aa346f01dfb0fb99effaffd7c4 |
| hovercard-subject-tag | pull_request:3112649654 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/microsoft/PowerPlatform-DataverseClient-Python/pull/83/files |
| twitter:image | https://avatars.githubusercontent.com/u/851440?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/851440?s=400&v=4 |
| og:image:alt | This pull request updates the _optionset_map method to cache empty results instead of returning None when no items are found. This change ensures that empty lookups are cached, which can improve pe... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/microsoft/PowerPlatform-DataverseClient-Python git https://github.com/microsoft/PowerPlatform-DataverseClient-Python.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 1042273116 |
| octolytics-dimension-repository_nwo | microsoft/PowerPlatform-DataverseClient-Python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1042273116 |
| octolytics-dimension-repository_network_root_nwo | microsoft/PowerPlatform-DataverseClient-Python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width