Title: Change MerginProject constructor to force one instance per project by dvdkon · Pull Request #283 · MerginMaps/python-api-client · GitHub
Open Graph Title: Change MerginProject constructor to force one instance per project by dvdkon · Pull Request #283 · MerginMaps/python-api-client
X Title: Change MerginProject constructor to force one instance per project by dvdkon · Pull Request #283 · MerginMaps/python-api-client
Description: Currently there can be multiple instances of MerginProject in memory that represent a single project (directory). This is an issue, because doing an operation on one instance will desync metadata in the others, which caused syncing to fail in db-sync. This PR changes the MerginProject constructor to return the existing instance for a given directory, if one exists. It also bumps the library version, so I can make subsequent changes in db-sync.
Open Graph Description: Currently there can be multiple instances of MerginProject in memory that represent a single project (directory). This is an issue, because doing an operation on one instance will desync metadata i...
X Description: Currently there can be multiple instances of MerginProject in memory that represent a single project (directory). This is an issue, because doing an operation on one instance will desync metadata i...
Opengraph URL: https://github.com/MerginMaps/python-api-client/pull/283
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:971cad93-3271-0efb-3ff1-a5ee30cbad60 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | AC50:340C27:7E31BCB:A8246C3:6980C461 |
| html-safe-nonce | ee98e028ae3a6358275a31e43d564d63e6813f31691cbf76f91da01f709f6914 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzUwOjM0MEMyNzo3RTMxQkNCOkE4MjQ2QzM6Njk4MEM0NjEiLCJ2aXNpdG9yX2lkIjoiNzMzODU4ODU1MzQ1NjE3NDE3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 66b9ede04e38bfbf70b640c83e8902ec25ad8704cc6b2c25907a3c5ac910af8b |
| hovercard-subject-tag | pull_request:3110587443 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/MerginMaps/python-api-client/pull/283/checks |
| twitter:image | https://avatars.githubusercontent.com/u/3526303?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3526303?s=400&v=4 |
| og:image:alt | Currently there can be multiple instances of MerginProject in memory that represent a single project (directory). This is an issue, because doing an operation on one instance will desync metadata i... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | fb936832e40deb3175641d9cfedc8432372f91b0bc899576222953095fc7879e |
| turbo-cache-control | no-preview |
| go-import | github.com/MerginMaps/python-api-client git https://github.com/MerginMaps/python-api-client.git |
| octolytics-dimension-user_id | 88134486 |
| octolytics-dimension-user_login | MerginMaps |
| octolytics-dimension-repository_id | 182099139 |
| octolytics-dimension-repository_nwo | MerginMaps/python-api-client |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 182099139 |
| octolytics-dimension-repository_network_root_nwo | MerginMaps/python-api-client |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3e9b7987a76a2b9d08066d02bb64947a61943332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width