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
645c4bdf
Commit
645c4bdf
authored
1 year ago
by
Martin Lange
Browse files
Options
Downloads
Patches
Plain Diff
add FINAM version to metadata
parent
3e23b64b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!276
Add FINAM version to metadata
Pipeline
#203502
passed with stages
in 4 minutes and 59 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+1
-1
1 addition, 1 deletion
CHANGELOG.md
src/finam/schedule.py
+2
-0
2 additions, 0 deletions
src/finam/schedule.py
tests/core/test_schedule.py
+3
-0
3 additions, 0 deletions
tests/core/test_schedule.py
with
6 additions
and
1 deletion
CHANGELOG.md
+
1
−
1
View file @
645c4bdf
...
...
@@ -11,7 +11,7 @@
### Features
*
Components and adapters automatically provide default metadata that can be extended by implementations (!274)
*
Components and adapters automatically provide default metadata that can be extended by implementations (!274
, !276
)
### Documentation
...
...
This diff is collapsed.
Click to expand it.
src/finam/schedule.py
+
2
−
0
View file @
645c4bdf
...
...
@@ -16,6 +16,7 @@ from datetime import datetime
from
pathlib
import
Path
from
time
import
strftime
from
._version
import
__version__
from
.errors
import
(
FinamCircularCouplingError
,
FinamConnectError
,
...
...
@@ -524,6 +525,7 @@ class Composition(Loggable):
)
return
{
"
version
"
:
__version__
,
"
components
"
:
comps
,
"
adapters
"
:
adas
,
"
links
"
:
links
,
...
...
This diff is collapsed.
Click to expand it.
tests/core/test_schedule.py
+
3
−
0
View file @
645c4bdf
...
...
@@ -28,6 +28,7 @@ from finam import (
Output
,
TimeComponent
,
)
from
finam._version
import
__version__
from
finam.adapters.base
import
Scale
from
finam.adapters.time
import
DelayFixed
,
NextTime
from
finam.modules
import
CallbackComponent
,
CallbackGenerator
,
DebugPushConsumer
,
debug
...
...
@@ -1037,6 +1038,8 @@ class TestComposition(unittest.TestCase):
in
md
[
"
links
"
]
)
self
.
assertEqual
(
__version__
,
md
[
"
version
"
])
if
__name__
==
"
__main__
"
:
unittest
.
main
()
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