mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-03 07:51:49 +00:00
black for henrique
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
"""Commands: generates the command map."""
|
||||
|
||||
import inspect
|
||||
from functools import partial, wraps
|
||||
from inspect import Parameter, Signature, signature
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
"""Logging Service Module."""
|
||||
|
||||
import json
|
||||
import logging
|
||||
from enum import Enum
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
"""Charting settings."""
|
||||
|
||||
from pathlib import Path
|
||||
from typing import Optional
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
"""System service."""
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
"""Tests for the OBBject class."""
|
||||
|
||||
from unittest.mock import MagicMock
|
||||
|
||||
import pandas as pd
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
"""OpenBB OBBject extension for charting."""
|
||||
|
||||
from typing import Any, Callable, Dict, Optional, Tuple, Union
|
||||
|
||||
from openbb_core.app.model.charts.chart import Chart
|
||||
@@ -74,9 +75,9 @@ class Charting:
|
||||
)
|
||||
kwargs["obbject_item"] = self._obbject.results
|
||||
kwargs["charting_settings"] = self._charting_settings
|
||||
kwargs[
|
||||
"standard_params"
|
||||
] = self._obbject._standard_params.__dict__ # pylint: disable=protected-access
|
||||
kwargs["standard_params"] = (
|
||||
self._obbject._standard_params.__dict__
|
||||
) # pylint: disable=protected-access
|
||||
|
||||
fig, content = charting_function(**kwargs)
|
||||
self._obbject.chart = Chart(
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
"""Script used to create charting functions in charting_router.py."""
|
||||
|
||||
from inspect import getmembers, isfunction
|
||||
from typing import List
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
"""Charting router."""
|
||||
|
||||
from typing import TYPE_CHECKING, Any, Dict, Tuple
|
||||
|
||||
from openbb_core.app.model.charts.chart import ChartFormat
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
"""Dataclasses for the charting extension."""
|
||||
|
||||
# pylint: disable=C0302,R0915,R0914,R0913,R0903,R0904
|
||||
|
||||
import sys
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
"""Module containing the to_chart function."""
|
||||
|
||||
from typing import Any, Dict, Optional, Tuple, Union
|
||||
|
||||
import pandas as pd
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
"""Helper functions for charting."""
|
||||
|
||||
from inspect import getmembers, getsource, isfunction
|
||||
from typing import List
|
||||
|
||||
|
||||
Reference in New Issue
Block a user