Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
I updated the API usage example, it had syntax errors.
  • Loading branch information
remyAuneor authored Jan 23, 2025
1 parent de432bd commit 51bc0fb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,16 +117,16 @@ API
You can also use `oca-port` as a Python package:

```python
>>> import oca_port
>>> import oca_port,json
>>> app = oca_port.App(
... source="origin/14.0",
... target="origin/16.0",
... addon_path="stock_move_auto_assign",
... upstream_org": "OCA",
... repo_path": "/home/odoo/OCA/stock-logistics-warehouse",
... output": "json",
... fetch": True,
... github_token: "<TOKEN>"
... upstream_org="OCA",
... repo_path="/home/odoo/OCA/stock-logistics-warehouse",
... output="json",
... fetch=True,
... github_token="<TOKEN>"
... )
>>> json_data = app.run()
>>> data = json.loads(json_data)
Expand Down

0 comments on commit 51bc0fb

Please sign in to comment.