Skip to content

Release 0.3.0

Compare
Choose a tag to compare
@Mandrenkov Mandrenkov released this 06 Dec 21:27
· 11 commits to main since this release
0cff457

New features since last release

  • Extra request headers may be passed to Connection.request(). (#36)

  • Job lists can now be filtered by status. (#30)

    Using the CLI:

    xcc job list --status '<Status>'

    Using the Python API:

    xcc.Job.list(connection, status="<Status>")

Improvements

  • An exception is now raised when saving a refresh token with invalid characters. (#31)

  • Job results are now displayed using the pprint module. (#34)

    Before:

    {
        "output": [
            "[[0 0 0 0]\n [0 0 0 0]\n [0 0 0 0]\n [0 0 0 0]\n [0 0 0 0]]"
        ]
    }

    After:

    {
        "output": [[[0, 0, 0, 0],
                    [0, 0, 0, 0],
                    [0, 0, 0, 0],
                    [0, 0, 0, 0],
                    [0, 0, 0, 0]]]
    }
  • The HTTPError raised when the refresh token is invalid now contains the response object. (#35)

Contributors

This release contains contributions from (in alphabetical order):

Mikhail Andrenkov, Jack Brown, Noah Rossignol, Jack Woehr, Hudhayfa Zaheem.