チケット #43939

generate_packets.py: Allow importing and calling main() with custom parameters

登録: 2022-02-20 11:42 最終更新: 2022-02-22 21:10

報告者:
担当者:
チケットの種類:
状況:
完了
コンポーネント:
マイルストーン:
優先度:
5 - 中
重要度:
5 - 中
解決法:
修正済み
ファイル:
1

詳細

Follow-up to #43931. Part of #43927.

Currently, it is not possible to get access to the methods inside the script via import, without also executing the script. Being able to do so, and to then execute the main script at a later point with arbitrary parameters, could be useful.

チケットの履歴 (4 件中 3 件表示)

2022-02-20 11:42 更新者: alienvalkyrie
  • 新しいチケット "generate_packets.py: Allow importing and calling main() with custom parameters" が作成されました
2022-02-20 11:58 更新者: alienvalkyrie
  • 解決法なし から 受領 に更新されました
2022-02-22 21:10 更新者: alienvalkyrie
  • 状況オープン から 完了 に更新されました
  • 解決法受領 から 修正済み に更新されました

編集

ログインしていません。ログインしていない状態では、コメントに記載者の記録が残りません。 » ログインする