| 100 | } |
| 101 | |
| 102 | std::shared_ptr<script::ScriptFlowFile> PyProcessSession::create() { |
| 103 | if (!session_) { |
| 104 | throw std::runtime_error("Access of ProcessSession after it has been released"); |
| 105 | } |
| 106 | |
| 107 | auto result = std::make_shared<script::ScriptFlowFile>(session_->create()); |
| 108 | flow_files_.push_back(result); |
| 109 | return result; |
| 110 | } |
| 111 | |
| 112 | std::shared_ptr<script::ScriptFlowFile> PyProcessSession::create(std::shared_ptr<script::ScriptFlowFile> flow_file) { |
| 113 | if (!session_) { |
nothing calls this directly
no test coverage detected