Skip to main content

mb.get_snowflake_mock_return_value(deployment_name, ...)

Retrieves the current Snowflake mock return value for a deployment.


  • deployment_name: str The name of the deployment to get the mock value from.
  • branch: Optional[str] The branch the deployment is on. If not specified the current branch of the Python environment will be used, which is main by default.
  • version: Optional[int] The version number of the deployment to get the mock value from. If unspecified the latest version is used.


Any The mock value of the deployment or None if there isn't one. An exception is raised if the deployment or version is not found.


Getting the current mock return value


Getting the mock return value from a previous version

mb.get_snowflake_mock_return_value("my_deployment", version=10)

See also