mirror of
https://github.com/ansible/awx.git
synced 2026-02-12 15:14:45 -03:30
16 lines
346 B
Python
16 lines
346 B
Python
# Copyright (c) 2016 Ansible, Inc.
|
|
# All Rights Reserved.
|
|
|
|
__all__ = ['get_license']
|
|
|
|
|
|
def _get_validated_license_data():
|
|
from awx.main.utils import get_licenser
|
|
|
|
return get_licenser().validate()
|
|
|
|
|
|
def get_license():
|
|
"""Return a dictionary representing the active license on this instance."""
|
|
return _get_validated_license_data()
|