mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Removed the depreciated Context and LazyContext classes
This commit is contained in:
committed by
Rob Crittenden
parent
f7375bb609
commit
0cfb0e191a
@@ -871,7 +871,7 @@ freeIPA.org:
|
||||
'''
|
||||
|
||||
import plugable
|
||||
from backend import Backend, Context
|
||||
from backend import Backend
|
||||
from frontend import Command, LocalOrRemote, Application
|
||||
from frontend import Object, Method, Property
|
||||
from crud import Create, Retrieve, Update, Delete, Search
|
||||
@@ -902,12 +902,9 @@ def create_api(mode='dummy'):
|
||||
- `frontend.Application`
|
||||
|
||||
- `backend.Backend`
|
||||
|
||||
- `backend.Context`
|
||||
"""
|
||||
api = plugable.API(
|
||||
Command, Object, Method, Property, Application,
|
||||
Backend, Context,
|
||||
Command, Object, Method, Property, Application, Backend
|
||||
)
|
||||
if mode is not None:
|
||||
api.env.mode = mode
|
||||
|
||||
Reference in New Issue
Block a user