Unique Stack
- class q2_sdk.models.unique_stack.UniqueStack(max_size)[source]
Behaves like a normal Python list but will only keep items once and will only fill to a certain size
- property fork_requests
- class q2_sdk.models.unique_stack.ForkedUniqueStack(max_size)[source]
Behaves like UniqueStack but will post back updates to the forked parent server if appropriate
Set UDP_MESSAGE_TYPE to an appropriate reference from q2_sdk.core.non_http_handlers.udp.writer.MsgType
- UDP_MESSAGE_TYPE = None
- remove(item)[source]
Remove first occurrence of value.
Raises ValueError if the value is not present.