Skip to content

Commit

Permalink
iam proposal #3
Browse files Browse the repository at this point in the history
maintain compatibility with defaultdict

remove in place

raise KeyError on delete

update deprecation for dict-key access and factory  methods

clean up

maintain compatibility - removing duplicate in __setitems__

check for conditions for dict access

remove empty binding

fix test accessing private var _bindings

fix(tests): change version to make existing tests pass

tests: add tests for getitem, delitem, setitem on v3 and conditions

test policy.bindings property

fixlint

black

sort bindings by role when converting to api repr

add deprecation warning for iam factory methods

update deprecation message for role methods

make Policy#bindings.members a set

update policy docs

fix docs

make docs better

fix: Bigtable policy class to use Policy.bindings

add from_pb with conditions test

add to_pb condition test

blacken

fix policy __delitem__

add docs on dict access

do not modify binding in to_apr_repr
  • Loading branch information
jkwlui committed Dec 19, 2019
1 parent 13bd849 commit 583ca42
Show file tree
Hide file tree
Showing 4 changed files with 467 additions and 72 deletions.
Loading

0 comments on commit 583ca42

Please sign in to comment.