Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
python3-dmapi / usr / lib / python3 / dist-packages / dmapi / __init__.py
Size: Mime:
# Copyright 2018 TrilioData Inc.
# All Rights Reserved.

"""
:mod:`dmapi` -- Cloud IaaS Platform
===================================

.. automodule:: dmapi
   :platform: Unix
   :synopsis: Infrastructure-as-a-Service Cloud platform.
"""

import os

os.environ['EVENTLET_NO_GREENDNS'] = 'yes'

import oslo_service  # noqa

import eventlet  # noqa

class NotImplementedError(NotImplementedError):
    # FIXME(jd) This is used by WSME to return a correct HTTP code. We should
    # not expose it here but wrap our methods in the API to convert it to a
    # proper HTTP error.
    code = 501