-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Custom args to package builder (#5282)
- Loading branch information
Showing
2 changed files
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
# flake8: noqa | ||
from typing import List | ||
from openbb_core.app.static.app_factory import create_app as __create_app | ||
|
||
sdk = __create_app() | ||
obb = sdk | ||
|
||
|
||
def _rebuild_python_interface() -> None: | ||
def _rebuild_python_interface(*args, lint=True) -> None: | ||
"""Rebuild the Python SDK.""" | ||
from openbb_core.app.static.package_builder import ( # pylint: disable=import-outside-toplevel | ||
PackageBuilder, | ||
) | ||
|
||
PackageBuilder.build() | ||
PackageBuilder.build(modules=list(args), lint = lint) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters