def preview_mode()

in packages/autorest.python/autorest/multiapi/__init__.py [0:0]


    def preview_mode(self) -> bool:
        # If True, means the auto-profile will consider preview versions.
        # If not, if it exists a stable API version for a global or RT, will always be used
        return cast(
            bool,
            self.user_specified_default_api and "preview" in self.user_specified_default_api,
        )