Skip to content

Commit

Permalink
chore: fix imports for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chrootlogin committed Aug 27, 2024
1 parent 87e0af1 commit 48adee6
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 6 deletions.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ dependencies = [
"pyyaml>=6.0.2",
"matplotlib>=3.9.2",
"plotly>=5.23.0",
"deprecated>=1.2.14"
"deprecated>=1.2.14",
"scikit-learn>=1.5.1"
]
requires-python = ">=3.10"
authors = [
Expand Down
22 changes: 18 additions & 4 deletions src/tensortrade/__init__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,26 @@
from . import core
from . import feed
# Copyright 2024 The TensorTrade-NG Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License
from tensortrade import core
from tensortrade import env
from tensortrade import feed
from tensortrade.oms import (
orders,
wallets,
instruments,
exchanges,
services
)
from . import env
from tensortrade import pipeline

from .__about__ import __version__
from tensortrade.__about__ import __version__
3 changes: 2 additions & 1 deletion src/tensortrade/pipeline/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License
from tensortrade.pipeline.pipeline import DataPipeline
from tensortrade.pipeline import transformers
from tensortrade.pipeline.pipeline import DataPipeline

0 comments on commit 48adee6

Please sign in to comment.