Skip to main content

A package for building Platform Guides in Switch Automation Platform.

Project description

Switch Automation library for Python

This is a package for building configurable UI/UX experiences on the Switch Automation software platform.

You can find out more about the platform on Switch Automation

Getting started

Prerequisites

Install the package

Install the Switch Guides library for Python with pip:

pip install switch-guides

History

0.1.14

Updated

  • Improved Guide Definition Registration Responses
    • Errors associated with registration will be available in the responses
  • Documentation for most Guide types and properties

Added

  • Aliases for guide.models modules so they are accessible on top level import
  • GuideStepDefinitionBackgroundTask that runs process() function in the background allowing users to navigate away from the page.
    • Will work in conjunction with LivelyUI APIs so that user can be given live feedback on the progress of the process method.
  • More step control options:
    • uiState now has continueToNextStep and continueToNextStepWhenAvailable available
    • we can now set uiState on process response without requiring status property to be set
      • Example:
        # Instead of:
        return SwitchGuideStepApiResponse(
            status=SwitchGuideStepStatus(
                uiState=SwitchGuideStepStatusUiState(
                    returnToSummary=True
                )
            )
        )
        
        # We can set uiState as:
        return SwitchGuideStepApiResponse(
            uiState=SwitchGuideStepStatusUiState(
                returnToSummary=True
            )
        )
        

0.1.13

Initial Switch Guides Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

switch_guides-0.1.14.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

switch_guides-0.1.14-py3-none-any.whl (25.7 kB view details)

Uploaded Python 3

File details

Details for the file switch_guides-0.1.14.tar.gz.

File metadata

  • Download URL: switch_guides-0.1.14.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for switch_guides-0.1.14.tar.gz
Algorithm Hash digest
SHA256 364ea8080c2fe4e9bb65eb59ed7ba8e66d308c2e5325564efbf735f5289d5ad9
MD5 9e996abd9b7543649814e30811f42908
BLAKE2b-256 afb66a1beee753df6d9193d420bfc862153590779c9e55bc0469341679f4be8b

See more details on using hashes here.

File details

Details for the file switch_guides-0.1.14-py3-none-any.whl.

File metadata

  • Download URL: switch_guides-0.1.14-py3-none-any.whl
  • Upload date:
  • Size: 25.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for switch_guides-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 457b06329cf290635343aff46a705de58db957ac5d56055828d67eac1984f9ac
MD5 80e39bf01cf308bcee27b405d696d966
BLAKE2b-256 52710f7842f6512d52b48c4241dd854834f531fc73fc73333df5bc3d797af2cf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page