Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
finam
Manage
Activity
Members
Labels
Plan
Issues
32
Issue boards
Milestones
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FINAM
finam
Merge requests
!257
Fix error logging for no data in static input
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix error logging for no data in static input
fix-error-logging
into
main
Overview
0
Commits
1
Pipelines
3
Changes
2
Merged
Martin Lange
requested to merge
fix-error-logging
into
main
2 years ago
Overview
0
Commits
1
Pipelines
3
Changes
2
Expand
Fixes
finam-examples#1 (closed)
TODO:
Update changelog
Edited
2 years ago
by
Martin Lange
👍
0
👎
0
Merge request reports
Compare
main
version 2
c2a2abb2
2 years ago
version 1
ee09d9df
2 years ago
main (base)
and
latest version
latest version
92f145fa
1 commit,
2 years ago
version 2
c2a2abb2
1 commit,
2 years ago
version 1
ee09d9df
1 commit,
2 years ago
2 files
+
8
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
src/finam/sdk/input.py
+
1
−
2
Options
@@ -121,10 +121,9 @@ class Input(IInput, Loggable):
if
self
.
is_static
:
if
self
.
_cached_data
is
None
:
data
=
self
.
source
.
get_data
(
time
,
target
or
self
)
with
ErrorLogger
(
self
.
logger
):
data
=
self
.
source
.
get_data
(
time
,
target
or
self
)
self
.
_cached_data
=
self
.
_convert_and_check
(
data
)
data
=
self
.
_cached_data
else
:
data
=
self
.
source
.
get_data
(
time
,
target
or
self
)
Loading