Module Expr Str Import alias Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr BoolOpOr NameLoad NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad NameLoad If CompareIs NameLoad NameLoad body If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If BoolOpAnd CompareEq AttributeLoad NameLoad attr NameLoad BoolOpOr CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad body TryExcept body Assign AttributeStore NameLoad attr IfExp CompareIsNot NameLoad NameLoad NameLoad Call NameLoad Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad If BoolOpAnd CompareEq AttributeLoad NameLoad attr NameLoad BoolOpOr NameLoad CompareIsNot NameLoad NameLoad body TryExcept body Assign AttributeStore NameLoad attr IfExp CompareIsNot NameLoad NameLoad NameLoad Call NameLoad Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr BoolOpAnd Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad CompareEq AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A Domain class to handle domain assignation for VPCs

 N/A os N/A DEFAULT_DOMAIN bigml.io N/A DEFAULT_PROTOCOL https N/A BIGML_DOMAIN N/A N/A N/A os environ get BIGML_DOMAIN DEFAULT_DOMAIN N/A BIGML_PROTOCOL N/A N/A N/A os environ get BIGML_PROTOCOL DEFAULT_PROTOCOL N/A BIGML_SSL_VERIFY N/A N/A N/A os environ get BIGML_SSL_VERIFY N/A BIGML_PREDICTION_DOMAIN N/A N/A N/A os environ get BIGML_PREDICTION_DOMAIN BIGML_DOMAIN N/A BIGML_PREDICTION_PROTOCOL N/A N/A N/A os environ get BIGML_PREDICTION_PROTOCOL DEFAULT_PROTOCOL N/A BIGML_PREDICTION_SSL_VERIFY N/A N/A N/A os environ get BIGML_PREDICTION_SSL_VERIFY Domain N/A object N/A N/A A Domain object to store the remote domain information for the API

       The domain that serves the remote resources can be set globally for
       all the resources either by setting the BIGML_DOMAIN environment
       variable

       export BIGML_DOMAIN=my_VPC.bigml.io

       or can be given in the constructor using the `domain` argument.

       my_domain = Domain("my_VPC.bigml.io")

       You can also specify a separate domain to handle predictions. This can
       be set by using the BIGML_PREDICTION_DOMAIN and
       BIGML_PREDICTION_PROTOCOL
       environment variables

       export BIGML_PREDICTION_DOMAIN=my_prediction_server.bigml.com
       export BIGML_PREDICITION_PROTOCOL=https

       or the `prediction_server` and `prediction_protocol` arguments.

       The constructor values will override the environment settings.
     __init__ N/A N/A self domain prediction_domain prediction_protocol protocol verify prediction_verify N/A None None None None None None N/A N/A Domain object constructor.

            @param: domain string Domain name
            @param: prediction_domain string Domain for the prediction server
                    (when different from the general domain)
            @param: prediction_protocol string Protocol for prediction server
                    (when different from the general protocol)
            @param: protocol string Protocol for the service
                    (when different from HTTPS)
            @param: verify boolean Sets on/off the SSL verification
            @param: prediction_verify boolean Sets on/off the SSL verification
                    for the prediction server (when different from the general
                    SSL verification)

         N/A N/A self general_domain N/A domain BIGML_DOMAIN N/A N/A self general_protocol N/A protocol BIGML_PROTOCOL N/A N/A prediction_domain None N/A N/A N/A domain None N/A N/A N/A self prediction_domain domain N/A N/A self prediction_protocol N/A protocol BIGML_PROTOCOL N/A N/A N/A self prediction_domain BIGML_PREDICTION_DOMAIN N/A N/A self prediction_protocol BIGML_PREDICTION_PROTOCOL N/A N/A N/A self prediction_domain prediction_domain N/A N/A self prediction_protocol N/A prediction_protocol BIGML_PREDICTION_PROTOCOL N/A N/A self verify None N/A N/A self verify_prediction None N/A N/A N/A N/A self general_protocol BIGML_PROTOCOL N/A N/A verify None N/A BIGML_SSL_VERIFY None N/A N/A N/A N/A N/A self verify N/A N/A verify None verify N/A bool N/A int BIGML_SSL_VERIFY N/A N/A N/A ValueError N/A N/A N/A N/A N/A self verify None N/A N/A N/A self verify N/A N/A N/A N/A N/A self general_domain lower endswith DEFAULT_DOMAIN N/A N/A N/A N/A self prediction_protocol BIGML_PROTOCOL N/A prediction_verify N/A BIGML_PREDICTION_SSL_VERIFY None N/A N/A N/A N/A N/A self verify_prediction N/A N/A prediction_verify None prediction_verify N/A bool N/A int BIGML_PREDICTION_SSL_VERIFY N/A N/A N/A ValueError N/A N/A N/A N/A N/A self verify_prediction None N/A N/A N/A self verify_prediction N/A N/A N/A N/A N/A N/A self prediction_domain lower endswith DEFAULT_DOMAIN N/A N/A self prediction_protocol DEFAULT_PROTOCOL N/A N/A