Title: fix: Fixed Permissions object parameter in example by dandawg · Pull Request #5259 · feast-dev/feast · GitHub
Open Graph Title: fix: Fixed Permissions object parameter in example by dandawg · Pull Request #5259 · feast-dev/feast
X Title: fix: Fixed Permissions object parameter in example by dandawg · Pull Request #5259 · feast-dev/feast
Description: What this PR does / why we need it:
This is a small PR to fix the parameter in the RBAC local example, specifically for the Permissions class instantiation. The current class instantiation has a name_patterns parameter (plural) instead of the singular as used in the example.
Without this fix, the example instantiation fails with an error.
Which issue(s) this PR fixes:
Misc
You can verify the parameters needed with:
from feast.permissions.permission import Permission
help(Permission)
which returns the following (note the plural name_patterns parameter):
Init signature:
Permission(
name: str,
types: Union[list['FeastObject'], ForwardRef('FeastObject'), NoneType] = [],
name_patterns: Union[str, list[str], NoneType] = [],
actions: Union[list[feast.permissions.action.AuthzedAction], feast.permissions.action.AuthzedAction] = [
Open Graph Description: What this PR does / why we need it: This is a small PR to fix the parameter in the RBAC local example, specifically for the Permissions class instantiation. The current class instantiation has a n...
X Description: What this PR does / why we need it: This is a small PR to fix the parameter in the RBAC local example, specifically for the Permissions class instantiation. The current class instantiation has a n...
Opengraph URL: https://github.com/feast-dev/feast/pull/5259
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8487411f-0ff8-7cec-1e73-750e978a6b12 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9572:268261:674467:87D18D:69701416 |
| html-safe-nonce | 8b9275796dd4b12f6598e54a1f862b7f0578cef7f15d2d7fff12e1e580068137 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTcyOjI2ODI2MTo2NzQ0Njc6ODdEMThEOjY5NzAxNDE2IiwidmlzaXRvcl9pZCI6IjU2NzExNzgxMzA1NTA2OTA4MzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6a830892258caed5a5549e39d826b92a6fe7a47a4919f2879690910c60ee112f |
| hovercard-subject-tag | pull_request:2454643187 |
| 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/feast-dev/feast/pull/5259/files |
| twitter:image | https://avatars.githubusercontent.com/u/12484302?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/12484302?s=400&v=4 |
| og:image:alt | What this PR does / why we need it: This is a small PR to fix the parameter in the RBAC local example, specifically for the Permissions class instantiation. The current class instantiation has a n... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 043a09521e81f00c45482046b3f38390b8b292cf9a86ad665a632633a072c05c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/feast-dev/feast git https://github.com/feast-dev/feast.git |
| octolytics-dimension-user_id | 57027613 |
| octolytics-dimension-user_login | feast-dev |
| octolytics-dimension-repository_id | 161133770 |
| octolytics-dimension-repository_nwo | feast-dev/feast |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 161133770 |
| octolytics-dimension-repository_network_root_nwo | feast-dev/feast |
| 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 | 98881eadf8ae73000970c42161c094b0809b1330 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width