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
Commits
a2429a05
Commit
a2429a05
authored
2 years ago
by
Martin Lange
Browse files
Options
Downloads
Patches
Plain Diff
fix doctests
parent
9aae63a3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!215
Fix for new units default
Pipeline
#132383
passed with stages
in 3 minutes and 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/source/finam-book/development/connect_phase.rst
+6
-6
6 additions, 6 deletions
docs/source/finam-book/development/connect_phase.rst
with
6 additions
and
6 deletions
docs/source/finam-book/development/connect_phase.rst
+
6
−
6
View file @
a2429a05
...
...
@@ -175,8 +175,8 @@ In the most simple case, all metadata is known in :meth:`.Component._initialize`
generator = fm.modules.CallbackGenerator(
{
"Output1": (lambda t: t.day, fm.Info(time=None, grid=fm.NoGrid())),
"Output2": (lambda t: t.day, fm.Info(time=None, grid=fm.NoGrid())),
"Output1": (lambda t: t.day, fm.Info(time=None, grid=fm.NoGrid()
, units=None
)),
"Output2": (lambda t: t.day, fm.Info(time=None, grid=fm.NoGrid()
, units=None
)),
},
start=datetime(2000, 1, 1),
step=timedelta(days=30),
...
...
@@ -185,7 +185,7 @@ In the most simple case, all metadata is known in :meth:`.Component._initialize`
simple_conn = SimpleConnect(datetime(2000, 1, 1), timedelta(days=1))
consumer = fm.modules.DebugConsumer(
{"Input": fm.Info(None, grid=fm.NoGrid())},
{"Input": fm.Info(None, grid=fm.NoGrid()
, units=None
)},
start=datetime(2000, 1, 1),
step=timedelta(days=1),
)
...
...
@@ -262,8 +262,8 @@ and the initial data should be generated from it.
generator = fm.modules.CallbackGenerator(
{
"Output1": (lambda t: t.day, fm.Info(time=None, grid=fm.NoGrid())),
"Output2": (lambda t: t.day, fm.Info(time=None, grid=fm.NoGrid())),
"Output1": (lambda t: t.day, fm.Info(time=None, grid=fm.NoGrid()
, units=None
)),
"Output2": (lambda t: t.day, fm.Info(time=None, grid=fm.NoGrid()
, units=None
)),
},
start=datetime(2000, 1, 1),
step=timedelta(days=30),
...
...
@@ -272,7 +272,7 @@ and the initial data should be generated from it.
complex_conn = ComplexConnect(datetime(2000, 1, 1), timedelta(days=1))
consumer = fm.modules.DebugConsumer(
{"Input": fm.Info(None, grid=fm.NoGrid())},
{"Input": fm.Info(None, grid=fm.NoGrid()
, units=None
)},
start=datetime(2000, 1, 1),
step=timedelta(days=1),
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment