Ejemplo n.º 1
0
def sample_stream(client):
    stream = Stream(
        name="a sample stream for testing",
        description="a stream created for testing",
        isPublic=True,
    )
    stream.id = client.stream.create(stream.name, stream.description, stream.isPublic)
    return stream
Ejemplo n.º 2
0
 def stream(self):
     return Stream(
         name="a wonderful stream",
         description="a stream created for testing",
         isPublic=True,
     )
Ejemplo n.º 3
0
 def updated_stream(self, ):
     return Stream(
         name="a wonderful updated stream",
         description="an updated stream description for testing",
         isPublic=False,
     )