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/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:dea00e0b-e68e-7f46-9f46-f653e7849107 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B88A:F741F:63C5E5:893EFB:69811678 |
| html-safe-nonce | 72a036c15a84e0d2d4c2efa952963523d98c90043bcf80a002571fc49480c100 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODhBOkY3NDFGOjYzQzVFNTo4OTNFRkI6Njk4MTE2NzgiLCJ2aXNpdG9yX2lkIjoiNjk2MzA5ODkzMzA2OTQyMDE1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3fa253f9b2c87809fdf42122e091f5263324e827aa146166c5ff4c6e5252e184 |
| hovercard-subject-tag | pull_request:3110587443 |
| 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/MerginMaps/python-api-client/pull/283/files |
| 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 | 39fe8101494cbb823c09b619b68c80cd4d05ab7279997038dbe06bb91608abe1 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d5b34a4e4898b066c629879feb4b184bc471d6a7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width