StreamPackage class not recognized

Hi, I got the following using Quix Streams in Quix Platform…

Traceback (most recent call last):
  File "main.py", line 19, in <module>
    def on_package_received_handler(stream: qx.StreamConsumer, package: qx.StreamPackage):
AttributeError: module 'quixstreams' has no attribute 'StreamPackage'
err: terminated with non-zero exit code: exit code 1

I was using the following as a guide…

Any ideas? Thanks!

from quixstreams.models.streampackage import StreamPackage

then use it in the parameters

1 Like

Hello!

This class is still WIP after the 0.5.0 migration, so I did not include it in the import yet.

As Steve mentioned above, you can still directly reference it. GitHub tracking ticket: here

2 Likes