luminarycloud 0.15.2__py3-none-any.whl → 0.15.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. luminarycloud/_helpers/_code_representation.py +44 -19
  2. luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.py +81 -81
  3. luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.pyi +4 -1
  4. luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2.py +46 -46
  5. luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2.pyi +7 -1
  6. luminarycloud/_proto/assistant/assistant_pb2.py +23 -23
  7. luminarycloud/_proto/assistant/assistant_pb2.pyi +21 -11
  8. luminarycloud/_proto/assistant/assistant_pb2_grpc.py +13 -13
  9. luminarycloud/_proto/assistant/assistant_pb2_grpc.pyi +6 -6
  10. luminarycloud/_proto/client/simulation_pb2.py +333 -324
  11. luminarycloud/_proto/client/simulation_pb2.pyi +26 -1
  12. luminarycloud/_proto/geometry/geometry_pb2.py +64 -63
  13. luminarycloud/_proto/geometry/geometry_pb2.pyi +11 -3
  14. luminarycloud/_proto/hexmesh/hexmesh_pb2.py +18 -14
  15. luminarycloud/_proto/hexmesh/hexmesh_pb2.pyi +14 -4
  16. luminarycloud/_proto/luminarycloud/luminarycloud_api.pb +0 -0
  17. luminarycloud/_proto/named_variable_set/named_variable_set_pb2.py +49 -0
  18. luminarycloud/_proto/named_variable_set/named_variable_set_pb2.pyi +53 -0
  19. luminarycloud/_proto/quantity/quantity_pb2.py +8 -5
  20. luminarycloud/_proto/quantity/quantity_pb2.pyi +2 -0
  21. luminarycloud/enum/__init__.py +3 -0
  22. luminarycloud/meshing/mesh_generation_params.py +6 -5
  23. luminarycloud/meshing/sizing_strategy/sizing_strategies.py +2 -1
  24. luminarycloud/named_variable_set.py +3 -1
  25. luminarycloud/pipeline_util/dictable.py +27 -0
  26. luminarycloud/pipeline_util/yaml.py +55 -0
  27. luminarycloud/pipelines/__init__.py +29 -0
  28. luminarycloud/pipelines/core.py +225 -0
  29. luminarycloud/pipelines/operators.py +197 -0
  30. luminarycloud/pipelines/parameters.py +42 -0
  31. luminarycloud/project.py +6 -6
  32. luminarycloud/simulation.py +35 -4
  33. luminarycloud/simulation_param.py +16 -12
  34. luminarycloud/simulation_template.py +10 -6
  35. luminarycloud/types/vector3.py +2 -1
  36. luminarycloud/vis/__init__.py +0 -3
  37. luminarycloud/vis/display.py +3 -2
  38. luminarycloud/vis/filters.py +1 -2
  39. luminarycloud/vis/interactive_scene.py +1 -1
  40. luminarycloud/vis/visualization.py +17 -1
  41. {luminarycloud-0.15.2.dist-info → luminarycloud-0.15.3.dist-info}/METADATA +2 -1
  42. {luminarycloud-0.15.2.dist-info → luminarycloud-0.15.3.dist-info}/RECORD +43 -34
  43. {luminarycloud-0.15.2.dist-info → luminarycloud-0.15.3.dist-info}/WHEEL +0 -0
@@ -17,7 +17,7 @@ from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
17
17
  from luminarycloud._proto.client import simulation_pb2 as proto_dot_client_dot_simulation__pb2
18
18
 
19
19
 
20
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fproto/assistant/assistant.proto\x12\x18luminary.proto.assistant\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1dproto/client/simulation.proto\"9\n\x16GetChatSessionsRequest\x12\r\n\x05scope\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02R\nproject_id\".\n\x17GetChatSessionsResponse\x12\x13\n\x0bsession_ids\x18\x01 \x03(\t\"8\n\x15NewChatSessionRequest\x12\r\n\x05scope\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02R\nproject_id\",\n\x16NewChatSessionResponse\x12\x12\n\nsession_id\x18\x01 \x01(\t\"\x9a\x02\n\x12NotebookOutputItem\x12\x38\n\x06stream\x18\x01 \x01(\x0b\x32&.luminary.proto.assistant.StreamOutputH\x00\x12=\n\x0c\x64isplay_data\x18\x02 \x01(\x0b\x32%.luminary.proto.assistant.DisplayDataH\x00\x12\x41\n\x0e\x65xecute_result\x18\x03 \x01(\x0b\x32\'.luminary.proto.assistant.ExecuteResultH\x00\x12\x36\n\x05\x65rror\x18\x04 \x01(\x0b\x32%.luminary.proto.assistant.ErrorOutputH\x00\x42\x10\n\x0eoutput_content\"V\n\x0cStreamOutput\x12\x38\n\x04name\x18\x01 \x01(\x0e\x32*.luminary.proto.assistant.StreamOutputType\x12\x0c\n\x04text\x18\x02 \x01(\t\"?\n\x0b\x45rrorOutput\x12\r\n\x05\x65name\x18\x01 \x01(\t\x12\x0e\n\x06\x65value\x18\x02 \x01(\t\x12\x11\n\ttraceback\x18\x03 \x03(\t\"}\n\rExecuteResult\x12?\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32\x31.luminary.proto.assistant.ExecuteResult.DataEntry\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"y\n\x0b\x44isplayData\x12=\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32/.luminary.proto.assistant.DisplayData.DataEntry\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa6\x01\n\x0cNotebookCell\x12\x0f\n\x07\x63\x65ll_id\x18\x01 \x01(\t\x12\x35\n\tcell_type\x18\x02 \x01(\x0e\x32\".luminary.proto.assistant.CellType\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\x12=\n\x07outputs\x18\x04 \x03(\x0b\x32,.luminary.proto.assistant.NotebookOutputItem\"b\n\x0fNotebookContext\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x35\n\x05\x63\x65lls\x18\x03 \x03(\x0b\x32&.luminary.proto.assistant.NotebookCell\"=\n\nSourceCode\x12\x10\n\x08language\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\"G\n\x05Image\x12\x14\n\x0cimage_base64\x18\x01 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"\xdb\x01\n\x0b\x43ontextItem\x12\x45\n\x10notebook_context\x18\x01 \x01(\x0b\x32).luminary.proto.assistant.NotebookContextH\x00\x12;\n\x0bsource_code\x18\x02 \x01(\x0b\x32$.luminary.proto.assistant.SourceCodeH\x00\x12\x0e\n\x04text\x18\x03 \x01(\tH\x00\x12\x30\n\x05image\x18\x04 \x01(\x0b\x32\x1f.luminary.proto.assistant.ImageH\x00\x42\x06\n\x04item\"J\n\x10\x41ssistantContext\x12\x36\n\x07\x63ontext\x18\x01 \x03(\x0b\x32%.luminary.proto.assistant.ContextItem\"\xf6\x01\n\x07Request\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x0f\n\x07request\x18\x02 \x01(\t\x12\x0b\n\x03\x63md\x18\x03 \x01(\t\x12\x0e\n\x06\x61\x63\x63\x65ss\x18\x04 \x01(\t\x12\r\n\x05scope\x18\x06 \x01(\t\x12=\n\x06source\x18\x07 \x01(\x0e\x32-.luminary.proto.assistant.AssistRequestSource\x12@\n\x07\x63ontext\x18\x08 \x01(\x0b\x32*.luminary.proto.assistant.AssistantContextH\x00\x88\x01\x01\x42\n\n\x08_contextJ\x04\x08\x05\x10\x06R\nproject_id\"\x9e\x01\n\x05Reply\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x0f\n\x07request\x18\x02 \x01(\t\x12\x0c\n\x04last\x18\x03 \x01(\x08\x12\x32\n\x06\x61\x63tion\x18\x04 \x01(\x0b\x32 .luminary.proto.assistant.ActionH\x00\x12\x12\n\x08response\x18\x05 \x01(\tH\x00\x12\x15\n\x0bplotly_plot\x18\x06 \x01(\tH\x00\x42\x06\n\x04step\"&\n\x06\x41\x63tion\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06params\x18\x02 \x03(\t\"S\n\x07Outcome\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x0f\n\x07request\x18\x02 \x01(\t\x12\r\n\x03val\x18\x03 \x01(\tH\x00\x12\r\n\x03\x65rr\x18\x04 \x01(\tH\x00\x42\x08\n\x06result\"I\n\x15GetChatHistoryRequest\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\r\n\x05scope\x18\x03 \x01(\tJ\x04\x08\x02\x10\x03R\nproject_id\"1\n\x10\x43hatHistoryEntry\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\"U\n\x16GetChatHistoryResponse\x12;\n\x07\x65ntries\x18\x01 \x03(\x0b\x32*.luminary.proto.assistant.ChatHistoryEntry\"c\n\x1fSimulationParamToSdkCodeRequest\x12@\n\x10simulation_param\x18\x01 \x01(\x0b\x32&.luminary.proto.client.SimulationParam\"4\n SimulationParamToSdkCodeResponse\x12\x10\n\x08sdk_code\x18\x01 \x01(\t*5\n\x13\x41ssistRequestSource\x12\r\n\tWEBAPP_UI\x10\x00\x12\x0f\n\x0bNOTEBOOK_UI\x10\x01*+\n\x08\x43\x65llType\x12\x08\n\x04\x43ODE\x10\x00\x12\x0c\n\x08MARKDOWN\x10\x01\x12\x07\n\x03RAW\x10\x02**\n\x10StreamOutputType\x12\n\n\x06STDOUT\x10\x00\x12\n\n\x06STDERR\x10\x01\x32\xaa\x05\n\tAssistant\x12x\n\x0fGetChatSessions\x12\x30.luminary.proto.assistant.GetChatSessionsRequest\x1a\x31.luminary.proto.assistant.GetChatSessionsResponse\"\x00\x12u\n\x0eNewChatSession\x12/.luminary.proto.assistant.NewChatSessionRequest\x1a\x30.luminary.proto.assistant.NewChatSessionResponse\"\x00\x12u\n\x0eGetChatHistory\x12/.luminary.proto.assistant.GetChatHistoryRequest\x1a\x30.luminary.proto.assistant.GetChatHistoryResponse\"\x00\x12P\n\x06\x41ssist\x12!.luminary.proto.assistant.Request\x1a\x1f.luminary.proto.assistant.Reply\"\x00\x30\x01\x12M\n\x0e\x41ssistCallback\x12!.luminary.proto.assistant.Outcome\x1a\x16.google.protobuf.Empty\"\x00\x12\x93\x01\n\x18SimulationParamToSdkCode\x12\x39.luminary.proto.assistant.SimulationParamToSdkCodeRequest\x1a:.luminary.proto.assistant.SimulationParamToSdkCodeResponse\"\x00\x42(Z&luminarycloud.com/core/proto/assistantb\x06proto3')
20
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fproto/assistant/assistant.proto\x12\x18luminary.proto.assistant\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1dproto/client/simulation.proto\"9\n\x16GetChatSessionsRequest\x12\r\n\x05scope\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02R\nproject_id\".\n\x17GetChatSessionsResponse\x12\x13\n\x0bsession_ids\x18\x01 \x03(\t\"8\n\x15NewChatSessionRequest\x12\r\n\x05scope\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02R\nproject_id\",\n\x16NewChatSessionResponse\x12\x12\n\nsession_id\x18\x01 \x01(\t\"\x9a\x02\n\x12NotebookOutputItem\x12\x38\n\x06stream\x18\x01 \x01(\x0b\x32&.luminary.proto.assistant.StreamOutputH\x00\x12=\n\x0c\x64isplay_data\x18\x02 \x01(\x0b\x32%.luminary.proto.assistant.DisplayDataH\x00\x12\x41\n\x0e\x65xecute_result\x18\x03 \x01(\x0b\x32\'.luminary.proto.assistant.ExecuteResultH\x00\x12\x36\n\x05\x65rror\x18\x04 \x01(\x0b\x32%.luminary.proto.assistant.ErrorOutputH\x00\x42\x10\n\x0eoutput_content\"V\n\x0cStreamOutput\x12\x38\n\x04name\x18\x01 \x01(\x0e\x32*.luminary.proto.assistant.StreamOutputType\x12\x0c\n\x04text\x18\x02 \x01(\t\"?\n\x0b\x45rrorOutput\x12\r\n\x05\x65name\x18\x01 \x01(\t\x12\x0e\n\x06\x65value\x18\x02 \x01(\t\x12\x11\n\ttraceback\x18\x03 \x03(\t\"}\n\rExecuteResult\x12?\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32\x31.luminary.proto.assistant.ExecuteResult.DataEntry\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"y\n\x0b\x44isplayData\x12=\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32/.luminary.proto.assistant.DisplayData.DataEntry\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa6\x01\n\x0cNotebookCell\x12\x0f\n\x07\x63\x65ll_id\x18\x01 \x01(\t\x12\x35\n\tcell_type\x18\x02 \x01(\x0e\x32\".luminary.proto.assistant.CellType\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\x12=\n\x07outputs\x18\x04 \x03(\x0b\x32,.luminary.proto.assistant.NotebookOutputItem\"b\n\x0fNotebookContext\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x35\n\x05\x63\x65lls\x18\x03 \x03(\x0b\x32&.luminary.proto.assistant.NotebookCell\"=\n\nSourceCode\x12\x10\n\x08language\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\"G\n\x05Image\x12\x14\n\x0cimage_base64\x18\x01 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"\xdb\x01\n\x0b\x43ontextItem\x12\x45\n\x10notebook_context\x18\x01 \x01(\x0b\x32).luminary.proto.assistant.NotebookContextH\x00\x12;\n\x0bsource_code\x18\x02 \x01(\x0b\x32$.luminary.proto.assistant.SourceCodeH\x00\x12\x0e\n\x04text\x18\x03 \x01(\tH\x00\x12\x30\n\x05image\x18\x04 \x01(\x0b\x32\x1f.luminary.proto.assistant.ImageH\x00\x42\x06\n\x04item\"J\n\x10\x41ssistantContext\x12\x36\n\x07\x63ontext\x18\x01 \x03(\x0b\x32%.luminary.proto.assistant.ContextItem\"\xf6\x01\n\x07Request\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x0f\n\x07request\x18\x02 \x01(\t\x12\x0b\n\x03\x63md\x18\x03 \x01(\t\x12\x0e\n\x06\x61\x63\x63\x65ss\x18\x04 \x01(\t\x12\r\n\x05scope\x18\x06 \x01(\t\x12=\n\x06source\x18\x07 \x01(\x0e\x32-.luminary.proto.assistant.AssistRequestSource\x12@\n\x07\x63ontext\x18\x08 \x01(\x0b\x32*.luminary.proto.assistant.AssistantContextH\x00\x88\x01\x01\x42\n\n\x08_contextJ\x04\x08\x05\x10\x06R\nproject_id\"\x9e\x01\n\x05Reply\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x0f\n\x07request\x18\x02 \x01(\t\x12\x0c\n\x04last\x18\x03 \x01(\x08\x12\x32\n\x06\x61\x63tion\x18\x04 \x01(\x0b\x32 .luminary.proto.assistant.ActionH\x00\x12\x12\n\x08response\x18\x05 \x01(\tH\x00\x12\x15\n\x0bplotly_plot\x18\x06 \x01(\tH\x00\x42\x06\n\x04step\"&\n\x06\x41\x63tion\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06params\x18\x02 \x03(\t\"S\n\x07Outcome\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x0f\n\x07request\x18\x02 \x01(\t\x12\r\n\x03val\x18\x03 \x01(\tH\x00\x12\r\n\x03\x65rr\x18\x04 \x01(\tH\x00\x42\x08\n\x06result\"I\n\x15GetChatHistoryRequest\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\r\n\x05scope\x18\x03 \x01(\tJ\x04\x08\x02\x10\x03R\nproject_id\"1\n\x10\x43hatHistoryEntry\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\"U\n\x16GetChatHistoryResponse\x12;\n\x07\x65ntries\x18\x01 \x03(\x0b\x32*.luminary.proto.assistant.ChatHistoryEntry\"g\n\x1aSimulationToSdkCodeRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0f\n\x07session\x18\x02 \x01(\t\x12\r\n\x05token\x18\x03 \x01(\t\x12\x15\n\rsimulation_id\x18\x04 \x01(\t\"/\n\x1bSimulationToSdkCodeResponse\x12\x10\n\x08sdk_code\x18\x01 \x01(\t*5\n\x13\x41ssistRequestSource\x12\r\n\tWEBAPP_UI\x10\x00\x12\x0f\n\x0bNOTEBOOK_UI\x10\x01*+\n\x08\x43\x65llType\x12\x08\n\x04\x43ODE\x10\x00\x12\x0c\n\x08MARKDOWN\x10\x01\x12\x07\n\x03RAW\x10\x02**\n\x10StreamOutputType\x12\n\n\x06STDOUT\x10\x00\x12\n\n\x06STDERR\x10\x01\x32\x9b\x05\n\tAssistant\x12x\n\x0fGetChatSessions\x12\x30.luminary.proto.assistant.GetChatSessionsRequest\x1a\x31.luminary.proto.assistant.GetChatSessionsResponse\"\x00\x12u\n\x0eNewChatSession\x12/.luminary.proto.assistant.NewChatSessionRequest\x1a\x30.luminary.proto.assistant.NewChatSessionResponse\"\x00\x12u\n\x0eGetChatHistory\x12/.luminary.proto.assistant.GetChatHistoryRequest\x1a\x30.luminary.proto.assistant.GetChatHistoryResponse\"\x00\x12P\n\x06\x41ssist\x12!.luminary.proto.assistant.Request\x1a\x1f.luminary.proto.assistant.Reply\"\x00\x30\x01\x12M\n\x0e\x41ssistCallback\x12!.luminary.proto.assistant.Outcome\x1a\x16.google.protobuf.Empty\"\x00\x12\x84\x01\n\x13SimulationToSdkCode\x12\x34.luminary.proto.assistant.SimulationToSdkCodeRequest\x1a\x35.luminary.proto.assistant.SimulationToSdkCodeResponse\"\x00\x42(Z&luminarycloud.com/core/proto/assistantb\x06proto3')
21
21
 
22
22
  _ASSISTREQUESTSOURCE = DESCRIPTOR.enum_types_by_name['AssistRequestSource']
23
23
  AssistRequestSource = enum_type_wrapper.EnumTypeWrapper(_ASSISTREQUESTSOURCE)
@@ -58,8 +58,8 @@ _OUTCOME = DESCRIPTOR.message_types_by_name['Outcome']
58
58
  _GETCHATHISTORYREQUEST = DESCRIPTOR.message_types_by_name['GetChatHistoryRequest']
59
59
  _CHATHISTORYENTRY = DESCRIPTOR.message_types_by_name['ChatHistoryEntry']
60
60
  _GETCHATHISTORYRESPONSE = DESCRIPTOR.message_types_by_name['GetChatHistoryResponse']
61
- _SIMULATIONPARAMTOSDKCODEREQUEST = DESCRIPTOR.message_types_by_name['SimulationParamToSdkCodeRequest']
62
- _SIMULATIONPARAMTOSDKCODERESPONSE = DESCRIPTOR.message_types_by_name['SimulationParamToSdkCodeResponse']
61
+ _SIMULATIONTOSDKCODEREQUEST = DESCRIPTOR.message_types_by_name['SimulationToSdkCodeRequest']
62
+ _SIMULATIONTOSDKCODERESPONSE = DESCRIPTOR.message_types_by_name['SimulationToSdkCodeResponse']
63
63
  GetChatSessionsRequest = _reflection.GeneratedProtocolMessageType('GetChatSessionsRequest', (_message.Message,), {
64
64
  'DESCRIPTOR' : _GETCHATSESSIONSREQUEST,
65
65
  '__module__' : 'proto.assistant.assistant_pb2'
@@ -230,19 +230,19 @@ GetChatHistoryResponse = _reflection.GeneratedProtocolMessageType('GetChatHistor
230
230
  })
231
231
  _sym_db.RegisterMessage(GetChatHistoryResponse)
232
232
 
233
- SimulationParamToSdkCodeRequest = _reflection.GeneratedProtocolMessageType('SimulationParamToSdkCodeRequest', (_message.Message,), {
234
- 'DESCRIPTOR' : _SIMULATIONPARAMTOSDKCODEREQUEST,
233
+ SimulationToSdkCodeRequest = _reflection.GeneratedProtocolMessageType('SimulationToSdkCodeRequest', (_message.Message,), {
234
+ 'DESCRIPTOR' : _SIMULATIONTOSDKCODEREQUEST,
235
235
  '__module__' : 'proto.assistant.assistant_pb2'
236
- # @@protoc_insertion_point(class_scope:luminary.proto.assistant.SimulationParamToSdkCodeRequest)
236
+ # @@protoc_insertion_point(class_scope:luminary.proto.assistant.SimulationToSdkCodeRequest)
237
237
  })
238
- _sym_db.RegisterMessage(SimulationParamToSdkCodeRequest)
238
+ _sym_db.RegisterMessage(SimulationToSdkCodeRequest)
239
239
 
240
- SimulationParamToSdkCodeResponse = _reflection.GeneratedProtocolMessageType('SimulationParamToSdkCodeResponse', (_message.Message,), {
241
- 'DESCRIPTOR' : _SIMULATIONPARAMTOSDKCODERESPONSE,
240
+ SimulationToSdkCodeResponse = _reflection.GeneratedProtocolMessageType('SimulationToSdkCodeResponse', (_message.Message,), {
241
+ 'DESCRIPTOR' : _SIMULATIONTOSDKCODERESPONSE,
242
242
  '__module__' : 'proto.assistant.assistant_pb2'
243
- # @@protoc_insertion_point(class_scope:luminary.proto.assistant.SimulationParamToSdkCodeResponse)
243
+ # @@protoc_insertion_point(class_scope:luminary.proto.assistant.SimulationToSdkCodeResponse)
244
244
  })
245
- _sym_db.RegisterMessage(SimulationParamToSdkCodeResponse)
245
+ _sym_db.RegisterMessage(SimulationToSdkCodeResponse)
246
246
 
247
247
  _ASSISTANT = DESCRIPTOR.services_by_name['Assistant']
248
248
  if _descriptor._USE_C_DESCRIPTORS == False:
@@ -253,12 +253,12 @@ if _descriptor._USE_C_DESCRIPTORS == False:
253
253
  _EXECUTERESULT_DATAENTRY._serialized_options = b'8\001'
254
254
  _DISPLAYDATA_DATAENTRY._options = None
255
255
  _DISPLAYDATA_DATAENTRY._serialized_options = b'8\001'
256
- _ASSISTREQUESTSOURCE._serialized_start=2626
257
- _ASSISTREQUESTSOURCE._serialized_end=2679
258
- _CELLTYPE._serialized_start=2681
259
- _CELLTYPE._serialized_end=2724
260
- _STREAMOUTPUTTYPE._serialized_start=2726
261
- _STREAMOUTPUTTYPE._serialized_end=2768
256
+ _ASSISTREQUESTSOURCE._serialized_start=2625
257
+ _ASSISTREQUESTSOURCE._serialized_end=2678
258
+ _CELLTYPE._serialized_start=2680
259
+ _CELLTYPE._serialized_end=2723
260
+ _STREAMOUTPUTTYPE._serialized_start=2725
261
+ _STREAMOUTPUTTYPE._serialized_end=2767
262
262
  _GETCHATSESSIONSREQUEST._serialized_start=121
263
263
  _GETCHATSESSIONSREQUEST._serialized_end=178
264
264
  _GETCHATSESSIONSRESPONSE._serialized_start=180
@@ -307,10 +307,10 @@ if _descriptor._USE_C_DESCRIPTORS == False:
307
307
  _CHATHISTORYENTRY._serialized_end=2382
308
308
  _GETCHATHISTORYRESPONSE._serialized_start=2384
309
309
  _GETCHATHISTORYRESPONSE._serialized_end=2469
310
- _SIMULATIONPARAMTOSDKCODEREQUEST._serialized_start=2471
311
- _SIMULATIONPARAMTOSDKCODEREQUEST._serialized_end=2570
312
- _SIMULATIONPARAMTOSDKCODERESPONSE._serialized_start=2572
313
- _SIMULATIONPARAMTOSDKCODERESPONSE._serialized_end=2624
314
- _ASSISTANT._serialized_start=2771
315
- _ASSISTANT._serialized_end=3453
310
+ _SIMULATIONTOSDKCODEREQUEST._serialized_start=2471
311
+ _SIMULATIONTOSDKCODEREQUEST._serialized_end=2574
312
+ _SIMULATIONTOSDKCODERESPONSE._serialized_start=2576
313
+ _SIMULATIONTOSDKCODERESPONSE._serialized_end=2623
314
+ _ASSISTANT._serialized_start=2770
315
+ _ASSISTANT._serialized_end=3437
316
316
  # @@protoc_insertion_point(module_scope)
@@ -8,7 +8,6 @@ import google.protobuf.descriptor
8
8
  import google.protobuf.internal.containers
9
9
  import google.protobuf.internal.enum_type_wrapper
10
10
  import google.protobuf.message
11
- import luminarycloud._proto.client.simulation_pb2
12
11
  import sys
13
12
  import typing
14
13
 
@@ -620,23 +619,34 @@ class GetChatHistoryResponse(google.protobuf.message.Message):
620
619
 
621
620
  global___GetChatHistoryResponse = GetChatHistoryResponse
622
621
 
623
- class SimulationParamToSdkCodeRequest(google.protobuf.message.Message):
622
+ class SimulationToSdkCodeRequest(google.protobuf.message.Message):
624
623
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
625
624
 
626
- SIMULATION_PARAM_FIELD_NUMBER: builtins.int
627
- @property
628
- def simulation_param(self) -> luminarycloud._proto.client.simulation_pb2.SimulationParam: ...
625
+ PROJECT_ID_FIELD_NUMBER: builtins.int
626
+ SESSION_FIELD_NUMBER: builtins.int
627
+ TOKEN_FIELD_NUMBER: builtins.int
628
+ SIMULATION_ID_FIELD_NUMBER: builtins.int
629
+ project_id: builtins.str
630
+ """Project ID for which to generate setup code"""
631
+ session: builtins.str
632
+ """Id of the long lived session, an opaque string set by initiator"""
633
+ token: builtins.str
634
+ """The session token for assistant to act on behalf of the user"""
635
+ simulation_id: builtins.str
636
+ """If specified, generate "simulation code" instead of "setup code" """
629
637
  def __init__(
630
638
  self,
631
639
  *,
632
- simulation_param: luminarycloud._proto.client.simulation_pb2.SimulationParam | None = ...,
640
+ project_id: builtins.str = ...,
641
+ session: builtins.str = ...,
642
+ token: builtins.str = ...,
643
+ simulation_id: builtins.str = ...,
633
644
  ) -> None: ...
634
- def HasField(self, field_name: typing_extensions.Literal["simulation_param", b"simulation_param"]) -> builtins.bool: ...
635
- def ClearField(self, field_name: typing_extensions.Literal["simulation_param", b"simulation_param"]) -> None: ...
645
+ def ClearField(self, field_name: typing_extensions.Literal["project_id", b"project_id", "session", b"session", "simulation_id", b"simulation_id", "token", b"token"]) -> None: ...
636
646
 
637
- global___SimulationParamToSdkCodeRequest = SimulationParamToSdkCodeRequest
647
+ global___SimulationToSdkCodeRequest = SimulationToSdkCodeRequest
638
648
 
639
- class SimulationParamToSdkCodeResponse(google.protobuf.message.Message):
649
+ class SimulationToSdkCodeResponse(google.protobuf.message.Message):
640
650
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
641
651
 
642
652
  SDK_CODE_FIELD_NUMBER: builtins.int
@@ -648,4 +658,4 @@ class SimulationParamToSdkCodeResponse(google.protobuf.message.Message):
648
658
  ) -> None: ...
649
659
  def ClearField(self, field_name: typing_extensions.Literal["sdk_code", b"sdk_code"]) -> None: ...
650
660
 
651
- global___SimulationParamToSdkCodeResponse = SimulationParamToSdkCodeResponse
661
+ global___SimulationToSdkCodeResponse = SimulationToSdkCodeResponse
@@ -41,10 +41,10 @@ class AssistantStub(object):
41
41
  request_serializer=proto_dot_assistant_dot_assistant__pb2.Outcome.SerializeToString,
42
42
  response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
43
43
  )
44
- self.SimulationParamToSdkCode = channel.unary_unary(
45
- '/luminary.proto.assistant.Assistant/SimulationParamToSdkCode',
46
- request_serializer=proto_dot_assistant_dot_assistant__pb2.SimulationParamToSdkCodeRequest.SerializeToString,
47
- response_deserializer=proto_dot_assistant_dot_assistant__pb2.SimulationParamToSdkCodeResponse.FromString,
44
+ self.SimulationToSdkCode = channel.unary_unary(
45
+ '/luminary.proto.assistant.Assistant/SimulationToSdkCode',
46
+ request_serializer=proto_dot_assistant_dot_assistant__pb2.SimulationToSdkCodeRequest.SerializeToString,
47
+ response_deserializer=proto_dot_assistant_dot_assistant__pb2.SimulationToSdkCodeResponse.FromString,
48
48
  )
49
49
 
50
50
 
@@ -82,7 +82,7 @@ class AssistantServicer(object):
82
82
  context.set_details('Method not implemented!')
83
83
  raise NotImplementedError('Method not implemented!')
84
84
 
85
- def SimulationParamToSdkCode(self, request, context):
85
+ def SimulationToSdkCode(self, request, context):
86
86
  """Converts a given SimulationParam proto into the equivalent SDK code.
87
87
  """
88
88
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
@@ -117,10 +117,10 @@ def add_AssistantServicer_to_server(servicer, server):
117
117
  request_deserializer=proto_dot_assistant_dot_assistant__pb2.Outcome.FromString,
118
118
  response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
119
119
  ),
120
- 'SimulationParamToSdkCode': grpc.unary_unary_rpc_method_handler(
121
- servicer.SimulationParamToSdkCode,
122
- request_deserializer=proto_dot_assistant_dot_assistant__pb2.SimulationParamToSdkCodeRequest.FromString,
123
- response_serializer=proto_dot_assistant_dot_assistant__pb2.SimulationParamToSdkCodeResponse.SerializeToString,
120
+ 'SimulationToSdkCode': grpc.unary_unary_rpc_method_handler(
121
+ servicer.SimulationToSdkCode,
122
+ request_deserializer=proto_dot_assistant_dot_assistant__pb2.SimulationToSdkCodeRequest.FromString,
123
+ response_serializer=proto_dot_assistant_dot_assistant__pb2.SimulationToSdkCodeResponse.SerializeToString,
124
124
  ),
125
125
  }
126
126
  generic_handler = grpc.method_handlers_generic_handler(
@@ -219,7 +219,7 @@ class Assistant(object):
219
219
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
220
220
 
221
221
  @staticmethod
222
- def SimulationParamToSdkCode(request,
222
+ def SimulationToSdkCode(request,
223
223
  target,
224
224
  options=(),
225
225
  channel_credentials=None,
@@ -229,8 +229,8 @@ class Assistant(object):
229
229
  wait_for_ready=None,
230
230
  timeout=None,
231
231
  metadata=None):
232
- return grpc.experimental.unary_unary(request, target, '/luminary.proto.assistant.Assistant/SimulationParamToSdkCode',
233
- proto_dot_assistant_dot_assistant__pb2.SimulationParamToSdkCodeRequest.SerializeToString,
234
- proto_dot_assistant_dot_assistant__pb2.SimulationParamToSdkCodeResponse.FromString,
232
+ return grpc.experimental.unary_unary(request, target, '/luminary.proto.assistant.Assistant/SimulationToSdkCode',
233
+ proto_dot_assistant_dot_assistant__pb2.SimulationToSdkCodeRequest.SerializeToString,
234
+ proto_dot_assistant_dot_assistant__pb2.SimulationToSdkCodeResponse.FromString,
235
235
  options, channel_credentials,
236
236
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -32,9 +32,9 @@ class AssistantStub:
32
32
  luminarycloud._proto.assistant.assistant_pb2.Outcome,
33
33
  google.protobuf.empty_pb2.Empty,
34
34
  ]
35
- SimulationParamToSdkCode: grpc.UnaryUnaryMultiCallable[
36
- luminarycloud._proto.assistant.assistant_pb2.SimulationParamToSdkCodeRequest,
37
- luminarycloud._proto.assistant.assistant_pb2.SimulationParamToSdkCodeResponse,
35
+ SimulationToSdkCode: grpc.UnaryUnaryMultiCallable[
36
+ luminarycloud._proto.assistant.assistant_pb2.SimulationToSdkCodeRequest,
37
+ luminarycloud._proto.assistant.assistant_pb2.SimulationToSdkCodeResponse,
38
38
  ]
39
39
  """Converts a given SimulationParam proto into the equivalent SDK code."""
40
40
 
@@ -72,11 +72,11 @@ class AssistantServicer(metaclass=abc.ABCMeta):
72
72
  context: grpc.ServicerContext,
73
73
  ) -> google.protobuf.empty_pb2.Empty: ...
74
74
  @abc.abstractmethod
75
- def SimulationParamToSdkCode(
75
+ def SimulationToSdkCode(
76
76
  self,
77
- request: luminarycloud._proto.assistant.assistant_pb2.SimulationParamToSdkCodeRequest,
77
+ request: luminarycloud._proto.assistant.assistant_pb2.SimulationToSdkCodeRequest,
78
78
  context: grpc.ServicerContext,
79
- ) -> luminarycloud._proto.assistant.assistant_pb2.SimulationParamToSdkCodeResponse:
79
+ ) -> luminarycloud._proto.assistant.assistant_pb2.SimulationToSdkCodeResponse:
80
80
  """Converts a given SimulationParam proto into the equivalent SDK code."""
81
81
 
82
82
  def add_AssistantServicer_to_server(servicer: AssistantServicer, server: grpc.Server) -> None: ...