great_expectations/expectations/expectation.py
def _atomic_prescriptive_template(
        cls,
        configuration=None,
        result=None,
        language=None,
        runtime_configuration=None,
        **kwargs,
    ):
        """
        Template function that contains the logic that is shared by atomic.prescriptive.summary (GE Cloud) and
        renderer.prescriptive (OSS GE)
        """
        if runtime_configuration is None:
            runtime_configuration = {}

        styling = runtime_configuration.get("styling")

        template_str = "$expectation_type(**$kwargs)"
        params = {
            "expectation_type": {
                "schema": {"type": "string"},
                "value": configuration.expectation_type,
            },
            "kwargs": {"schema": {"type": "string"}, "value": configuration.kwargs},
        }
        return (template_str, params, styling)

        Template function that contains the logic that is shared by atomic.prescriptive.summary (GE Cloud) and
        renderer.prescriptive (OSS GE)
        
Template function that contains the logic that is shared by atomic.prescriptive.summary (GE Cloud) and
renderer.prescriptive (OSS GE)
Template function that contains the logic that is shared by atomic . prescriptive . summary ( GE Cloud ) and renderer . prescriptive ( OSS GE )
def _atomic_prescriptive_template(
        cls,
        configuration=None,
        result=None,
        language=None,
        runtime_configuration=None,
        **kwargs,
    ):
        if runtime_configuration is None:
            runtime_configuration = {}
        styling = runtime_configuration.get("styling")
        template_str = "$expectation_type(**$kwargs)"
        params = {
            "expectation_type": {
                "schema": {"type": "string"},
                "value": configuration.expectation_type,
            },
            "kwargs": {"schema": {"type": "string"}, "value": configuration.kwargs},
        }
        return (template_str, params, styling)
def _atomic_prescriptive_template ( cls , configuration = None , result = None , language = None , runtime_configuration = None , ** kwargs , ) : if runtime_configuration is None : runtime_configuration = { } styling = runtime_configuration . get ( "styling" ) template_str = "$expectation_type(**$kwargs)" params = { "expectation_type" : { "schema" : { "type" : "string" } , "value" : configuration . expectation_type , } , "kwargs" : { "schema" : { "type" : "string" } , "value" : configuration . kwargs } , } return ( template_str , params , styling )
Template function that contains the logic that is shared by atomic.prescriptive.summary (GE Cloud) and
renderer.prescriptive (OSS GE)
Template function that contains the logic that is shared by atomic . prescriptive . summary ( GE Cloud ) and renderer . prescriptive ( OSS GE )
"""
        Template function that contains the logic that is shared by atomic.prescriptive.summary (GE Cloud) and
        renderer.prescriptive (OSS GE)
        """
cls
configuration
result
language
runtime_configuration