Skip to content

Commit

Permalink
fixup! Refactor main arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
sebalix committed Sep 26, 2024
1 parent 597eb84 commit e027378
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions oca_port/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ class App(Output):
string representation of the source branch, e.g. 'origin/15.0'
target:
string representation of the target branch, e.g. 'origin/16.0'
addon:
the name of the module to process
destination:
string representation of the destination branch,
e.g. 'camptocamp/16.0-addon-dev'
addon:
the name of the module to process
source_version:
Source Odoo version. To set if it cannot be detected from 'source'.
target_version:
Expand Down Expand Up @@ -60,12 +60,12 @@ class App(Output):
to not trigger the "API rate limit exceeded" error).
"""

source: object
target: object
destination: object
source: str
target: str
addon: str
source_version: str
target_version: str
destination: str = None
source_version: str = None
target_version: str = None
repo_path: str = ""
repo_name: str = None
upstream_org: str = "OCA"
Expand Down

0 comments on commit e027378

Please sign in to comment.