Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Mentat Test 3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
713
Mentat
Mentat Test 3
Commits
ac1a3345
Commit
ac1a3345
authored
1 year ago
by
Jakub Judiny
Browse files
Options
Downloads
Patches
Plain Diff
Fix renamed parameters
(Redmine issue: #7652)
parent
5243fafd
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/mentat/plugin/app/eventstorage.py
+7
-7
7 additions, 7 deletions
lib/mentat/plugin/app/eventstorage.py
lib/mentat/plugin/app/sqlstorage.py
+8
-8
8 additions, 8 deletions
lib/mentat/plugin/app/sqlstorage.py
with
15 additions
and
15 deletions
lib/mentat/plugin/app/eventstorage.py
+
7
−
7
View file @
ac1a3345
...
@@ -65,25 +65,25 @@ class EventStoragePlugin(pyzenkit.baseapp.ZenAppPlugin):
...
@@ -65,25 +65,25 @@ class EventStoragePlugin(pyzenkit.baseapp.ZenAppPlugin):
#---------------------------------------------------------------------------
#---------------------------------------------------------------------------
def
configure
(
self
,
app
lication
):
def
configure
(
self
,
app
):
"""
"""
Configure application. This method will be called from :py:func:`pyzenkit.baseapp.BaseApp._configure_plugins`
Configure application. This method will be called from :py:func:`pyzenkit.baseapp.BaseApp._configure_plugins`
and it further updates current application configurations.
and it further updates current application configurations.
This method is part of the **setup** stage of application`s life cycle.
This method is part of the **setup** stage of application`s life cycle.
:param app
lication
: Reference to the parent application.
:param app: Reference to the parent application.
"""
"""
def
setup
(
self
,
app
lication
):
def
setup
(
self
,
app
):
"""
"""
Configure application. This method will be called from :py:func:`pyzenkit.baseapp.BaseApp._stage_setup_plugins`
Configure application. This method will be called from :py:func:`pyzenkit.baseapp.BaseApp._stage_setup_plugins`
and it further updates current application configurations.
and it further updates current application configurations.
This method is part of the **setup** stage of application`s life cycle.
This method is part of the **setup** stage of application`s life cycle.
:param app
lication
: Reference to the parent application.
:param app: Reference to the parent application.
"""
"""
esm
=
mentat
.
services
.
eventstorage
.
EventStorageServiceManager
(
app
lication
.
config
)
esm
=
mentat
.
services
.
eventstorage
.
EventStorageServiceManager
(
app
.
config
)
app
lication
.
eventservice
=
esm
.
service
()
app
.
eventservice
=
esm
.
service
()
app
lication
.
logger
.
debug
(
"
[STATUS] Set up event storage service.
"
)
app
.
logger
.
debug
(
"
[STATUS] Set up event storage service.
"
)
This diff is collapsed.
Click to expand it.
lib/mentat/plugin/app/sqlstorage.py
+
8
−
8
View file @
ac1a3345
...
@@ -64,26 +64,26 @@ class SQLStoragePlugin(pyzenkit.baseapp.ZenAppPlugin):
...
@@ -64,26 +64,26 @@ class SQLStoragePlugin(pyzenkit.baseapp.ZenAppPlugin):
#---------------------------------------------------------------------------
#---------------------------------------------------------------------------
def
configure
(
self
,
app
lication
):
def
configure
(
self
,
app
):
"""
"""
Configure application. This method will be called from :py:func:`pyzenkit.baseapp.BaseApp._configure_plugins`
Configure application. This method will be called from :py:func:`pyzenkit.baseapp.BaseApp._configure_plugins`
and it further updates current application configurations.
and it further updates current application configurations.
This method is part of the **setup** stage of application`s life cycle.
This method is part of the **setup** stage of application`s life cycle.
:param app
lication
: Reference to the parent application.
:param app: Reference to the parent application.
"""
"""
def
setup
(
self
,
app
lication
):
def
setup
(
self
,
app
):
"""
"""
Configure application. This method will be called from :py:func:`pyzenkit.baseapp.BaseApp._stage_setup_plugins`
Configure application. This method will be called from :py:func:`pyzenkit.baseapp.BaseApp._stage_setup_plugins`
and it further updates current application configurations.
and it further updates current application configurations.
This method is part of the **setup** stage of application`s life cycle.
This method is part of the **setup** stage of application`s life cycle.
:param app
lication
: Reference to the parent application.
:param app: Reference to the parent application.
"""
"""
mentat
.
services
.
sqlstorage
.
init
(
app
lication
.
config
)
mentat
.
services
.
sqlstorage
.
init
(
app
.
config
)
app
lication
.
logger
.
debug
(
"
[STATUS] Set up connection to SQL storage.
"
)
app
.
logger
.
debug
(
"
[STATUS] Set up connection to SQL storage.
"
)
app
lication
.
sqlservice
=
mentat
.
services
.
sqlstorage
.
service
()
app
.
sqlservice
=
mentat
.
services
.
sqlstorage
.
service
()
app
lication
.
logger
.
debug
(
"
[STATUS] Set up SQL storage service.
"
)
app
.
logger
.
debug
(
"
[STATUS] Set up SQL storage service.
"
)
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