Files
freeipa/ipaclient/remote_plugins/__init__.py
T
Jan Cholasta ec841e5d7a ipaclient: implement thin client
Dynamically create plugin package for the remote server with modules and
commands based on the API schema when client API is finalizes. For in-tree
API instances, use ipalib.plugins directly.

https://fedorahosted.org/freeipa/ticket/4739

Reviewed-By: David Kupka <dkupka@redhat.com>
2016-06-03 09:00:34 +02:00

15 lines
248 B
Python

#
# Copyright (C) 2016 FreeIPA Contributors see COPYING for license
#
from . import schema
def get_package(api):
if api.env.in_tree:
from ipalib import plugins
else:
plugins = schema.get_package(api)
return plugins