Split BIG class(PlaywrightBrowser) in main.py into clpl/*.py #7
No reviewers
Labels
No labels
bug
discussion
duplicate
enhancement
help wanted
invalid
polish
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: 15km/gc-crowl#7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "polish-split_main_py_file"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
main.py内の大きなクラスPlaywrightBrowserを分割しclplディレクトリ内に保存。clpl/base.pyでMixinを使ってまとめている。(#3)
__init__.pyをいい感じに書けばimport clplでうまくいくんだろうけれど、よく分からなかったのでとりあえずfrom clpl.base import Clplしている。
同時に、不要なライブラリのimportを削除。(#2)