Title: Issue with parsing model "Site" · Issue #19 · webflow/webflow-python · GitHub
Open Graph Title: Issue with parsing model "Site" · Issue #19 · webflow/webflow-python
X Title: Issue with parsing model "Site" · Issue #19 · webflow/webflow-python
Description: I'm running into an issue when I try to query the API through this SDK to get a list of the sites associated with the current access code. client = Webflow(access_token=session['access_token']) sites = client.sites.list() This is the exc...
Open Graph Description: I'm running into an issue when I try to query the API through this SDK to get a list of the sites associated with the current access code. client = Webflow(access_token=session['access_token']) sit...
X Description: I'm running into an issue when I try to query the API through this SDK to get a list of the sites associated with the current access code. client = Webflow(access_token=session['access_toke...
Opengraph URL: https://github.com/webflow/webflow-python/issues/19
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Issue with parsing model \"Site\"","articleBody":"I'm running into an issue when I try to query the API through this SDK to get a list of the sites associated with the current access code.\r\n\r\n client = Webflow(access_token=session['access_token'])\r\n sites = client.sites.list()\r\n\r\nThis is the exception that gets thrown:\r\n\r\n pydantic.v1.error_wrappers.ValidationError: 1 validation error for ParsingModel[Site]\r\n __root__ -\u003e id\r\n field required (type=value_error.missing)\r\n\r\nI am not very familiar with `pydantic` but it seems that it's failing at parsing the `id` of a site, but surely the API returns IDs for each site in JSON.","author":{"url":"https://github.com/alexmarginean16","@type":"Person","name":"alexmarginean16"},"datePublished":"2024-06-02T00:50:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/19/webflow-python/issues/19"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2a34a71e-e675-8199-c683-31518848e4e8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CABC:A7203:28CB908:3698358:698075D1 |
| html-safe-nonce | 0d3dc45c2fb9516f639609adf07c6d8aaab321cf8b0451d1838cdc03305f331a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQUJDOkE3MjAzOjI4Q0I5MDg6MzY5ODM1ODo2OTgwNzVEMSIsInZpc2l0b3JfaWQiOiIyNzUxNzk2NzY2NzcxODAzNjAxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6419f7de5dc989e3f7c062f2648f1eba3d50da88642371d032aa42d2cbacab3f |
| hovercard-subject-tag | issue:2329409707 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/webflow/webflow-python/19/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d9aafdf26d37f971b6b7ad620affe2bb31b569207e66a4c14a299a87aaa66b84/webflow/webflow-python/issues/19 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d9aafdf26d37f971b6b7ad620affe2bb31b569207e66a4c14a299a87aaa66b84/webflow/webflow-python/issues/19 |
| og:image:alt | I'm running into an issue when I try to query the API through this SDK to get a list of the sites associated with the current access code. client = Webflow(access_token=session['access_token']) sit... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alexmarginean16 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0959b1a93ca48b0c88b3bddbdfd04ca43f388cb1a8293105a28c5ef6e8079db8 |
| turbo-cache-control | no-preview |
| go-import | github.com/webflow/webflow-python git https://github.com/webflow/webflow-python.git |
| octolytics-dimension-user_id | 1229663 |
| octolytics-dimension-user_login | webflow |
| octolytics-dimension-repository_id | 716241484 |
| octolytics-dimension-repository_nwo | webflow/webflow-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 716241484 |
| octolytics-dimension-repository_network_root_nwo | webflow/webflow-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 78307334c66591a8f87f493dd2968126b34961dd |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width