Gitiles
Code Review
Sign In
gerrit.opencord.org
/
exampleservice
/
71f404f2590b115fe8613a6056b7a8c2daf95b8c
/
.
/
xos
/
attic
/
exampletenant_bottom.py
blob: 7ac737eccc1e10a72558c73d09aeac25f1a74cbd [
file
] [
log
] [
blame
]
def
model_policy_exampletenant
(
pk
):
with
transaction
.
atomic
():
tenant
=
ExampleTenant
.
objects
.
select_for_update
().
filter
(
pk
=
pk
)
if
not
tenant
:
return
tenant
=
tenant
[
0
]
tenant
.
manage_container
()