PythonEnvironmentPacket
QuantConnect.Packets.PythonEnvironmentPacket
PythonEnvironmentPacket(type: PacketType)
Bases: Packet
Python Environment Packet is an abstract packet that contains a PythonVirtualEnvironment definition. Intended to be used by inheriting classes that may use a PythonVirtualEnvironment
Default constructor for a PythonEnvironmentPacket
This codeEntityType is protected.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
type
|
PacketType
|
|
required |
python_virtual_environment
python_virtual_environment: str
Virtual environment ID used to find PythonEvironments Ideally MD5, but environment names work as well.
channel
channel: str
User unique specific channel endpoint to send the packets