Title: Unable to generate pydantic-core schema for
Open Graph Title: Unable to generate pydantic-core schema for
X Title: Unable to generate pydantic-core schema for
Description: When generating a pydantic model that includes a BYTEA column in postgres, it has a memoryview attribute that causes this error: pydantic.errors.PydanticSchemaGenerationError: Unable to generate pydantic-core schema for Open Graph Description: When generating a pydantic model that includes a BYTEA column in postgres, it has a memoryview attribute that causes this error: pydantic.errors.PydanticSchemaGenerationError: Unable to generate py...
X Description: When generating a pydantic model that includes a BYTEA column in postgres, it has a memoryview attribute that causes this error: pydantic.errors.PydanticSchemaGenerationError: Unable to generate py...
Opengraph URL: https://github.com/sqlc-dev/sqlc-gen-python/issues/55
X: @github
Domain: github.com
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unable to generate pydantic-core schema for \u003cclass 'memoryview'\u003e","articleBody":"When generating a pydantic model that includes a `BYTEA` column in postgres, it has a `memoryview` attribute that causes this error:\r\n\r\n```\r\npydantic.errors.PydanticSchemaGenerationError: Unable to generate pydantic-core schema for \u003cclass 'memoryview'\u003e. Set `arbitrary_types_allowed=True` in the model_config to ignore this error or implement `__get_pydantic_core_schema__` on your type to fully support it.\r\n```\r\n\r\nShould it be `bytes` instead?","author":{"url":"https://github.com/sbking","@type":"Person","name":"sbking"},"datePublished":"2024-08-23T07:47:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/55/sqlc-gen-python/issues/55"}
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:a9c2f506-8e93-4ca3-2cae-fdee507589b3 current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id BA30:37CBB2:2DC187C:3CD0727:696F1B5F html-safe-nonce 70cb8e65aa9dbbb902fefd901214987a927308dc5ee2712af3c74b87e6577bd2 visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTMwOjM3Q0JCMjoyREMxODdDOjNDRDA3Mjc6Njk2RjFCNUYiLCJ2aXNpdG9yX2lkIjoiODI2MjIyODg1NTM3MjA2MTUzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 visitor-hmac 81901042d9b7f0539eecc3903791ab8c7f757244cd41b5fd622c15cd859b1cd2 hovercard-subject-tag issue:2482536264 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/sqlc-dev/sqlc-gen-python/55/issue_layout twitter:image https://opengraph.githubassets.com/10a5e1d2fc69fbdc937ce6b54945ac30f97e381be48d9354f3357044983f4601/sqlc-dev/sqlc-gen-python/issues/55 twitter:card summary_large_image og:image https://opengraph.githubassets.com/10a5e1d2fc69fbdc937ce6b54945ac30f97e381be48d9354f3357044983f4601/sqlc-dev/sqlc-gen-python/issues/55 og:image:alt When generating a pydantic model that includes a BYTEA column in postgres, it has a memoryview attribute that causes this error: pydantic.errors.PydanticSchemaGenerationError: Unable to generate py... og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username sbking hostname github.com expected-hostname github.com None b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee turbo-cache-control no-preview go-import github.com/sqlc-dev/sqlc-gen-python git https://github.com/sqlc-dev/sqlc-gen-python.git octolytics-dimension-user_id 136738596 octolytics-dimension-user_login sqlc-dev octolytics-dimension-repository_id 548530161 octolytics-dimension-repository_nwo sqlc-dev/sqlc-gen-python octolytics-dimension-repository_public true octolytics-dimension-repository_is_fork false octolytics-dimension-repository_network_root_id 548530161 octolytics-dimension-repository_network_root_nwo sqlc-dev/sqlc-gen-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 39aed5006635ab6f45e6b77d23e73b08a00272a3 ui-target full theme-color #1e2327 color-scheme light dark
URLs of crawlers that visited me.