Title: add ability to unset policy tags (and description?) in schema fields · Issue #558 · googleapis/python-bigquery · GitHub
Open Graph Title: add ability to unset policy tags (and description?) in schema fields · Issue #558 · googleapis/python-bigquery
X Title: add ability to unset policy tags (and description?) in schema fields · Issue #558 · googleapis/python-bigquery
Description: Is your feature request related to a problem? Please describe. I noticed in #557 that we don't send the policy tags property if none are set in SchemaField. I believe this tells the backend not to make any updates to the policy tags prop...
Open Graph Description: Is your feature request related to a problem? Please describe. I noticed in #557 that we don't send the policy tags property if none are set in SchemaField. I believe this tells the backend not to ...
X Description: Is your feature request related to a problem? Please describe. I noticed in #557 that we don't send the policy tags property if none are set in SchemaField. I believe this tells the backend not...
Opengraph URL: https://github.com/googleapis/python-bigquery/issues/558
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"add ability to unset policy tags (and description?) in schema fields","articleBody":" **Is your feature request related to a problem? Please describe.**\r\n\r\nI noticed in https://github.com/googleapis/python-bigquery/pull/557 that we don't send the policy tags property if none are set in SchemaField. I believe this tells the backend not to make any updates to the policy tags property. This means it's not possible to _unset_ policy tags from Python.\r\n\r\n(Note: I haven't verified this, so some system tests / samples should be written for this use case)\r\n\r\n **Describe the solution you'd like**\r\n\r\nSimilar to what I did for `description` in https://github.com/googleapis/python-bigquery/pull/557, we should disambiguate between unset policy tags and empty / none for policy tags.\r\n\r\n **Describe alternatives you've considered**\r\n\r\nWe could make the update fields property more fine-grained, such as `schema.policytags` in order to force a sub-property to be included. This feels overly complicated, though.\r\n\r\n **Additional context**\r\n\r\nN/A\r\n","author":{"url":"https://github.com/tswast","@type":"Person","name":"tswast"},"datePublished":"2021-03-18T15:23:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/558/python-bigquery/issues/558"}
| 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:e39ed18e-bc98-6a11-0cd0-65d81f076225 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8F4A:5105D:2707BD:36F0F9:6A4E68F4 |
| html-safe-nonce | c221203caca2daa16396891d9bc2dbdca3be95d426e3d68f2f85bf1d4eb9fc66 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjRBOjUxMDVEOjI3MDdCRDozNkYwRjk6NkE0RTY4RjQiLCJ2aXNpdG9yX2lkIjoiNDkwNjQ4OTQ3MDE0Njk5NjQ2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1510916e456c795d4b1a3ddab685b0aa3c35ea9918bec5883aa6f2951c5d6135 |
| hovercard-subject-tag | issue:834938931 |
| 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/googleapis/python-bigquery/558/issue_layout |
| twitter:image | https://opengraph.githubassets.com/14305bd01a94eb338206188548518f3f1b49f1770fbc69d2f3df6355b7d48c22/googleapis/python-bigquery/issues/558 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/14305bd01a94eb338206188548518f3f1b49f1770fbc69d2f3df6355b7d48c22/googleapis/python-bigquery/issues/558 |
| og:image:alt | Is your feature request related to a problem? Please describe. I noticed in #557 that we don't send the policy tags property if none are set in SchemaField. I believe this tells the backend not to ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tswast |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/python-bigquery git https://github.com/googleapis/python-bigquery.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 226992475 |
| octolytics-dimension-repository_nwo | googleapis/python-bigquery |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 226992475 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-bigquery |
| 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 | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width