Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
PythonLibs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TheCodeLabs
PythonLibs
Compare revisions
2b8e1a633a2747f47353fa7b8a50c38f4ef14a28 to e8dd21771a502c4b4a4481cc1340d9cb950550b0
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
TheCodeLabs/PythonLibs
Select target project
No results found
e8dd21771a502c4b4a4481cc1340d9cb950550b0
Select Git revision
Loading items
Swap
Target
TheCodeLabs/PythonLibs
Select target project
TheCodeLabs/PythonLibs
1 result
2b8e1a633a2747f47353fa7b8a50c38f4ef14a28
Select Git revision
Loading items
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
FlaskUtils: refactoring: make method public
· 8caac0f2
Robert Goldmann
authored
1 year ago
8caac0f2
FlaskUtils: v1.3.0
· e8dd2177
Robert Goldmann
authored
1 year ago
e8dd2177
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
TheCodeLabs_FlaskUtils/TheCodeLabs_FlaskUtils/FlaskBaseApp.py
+2
-2
2 additions, 2 deletions
...odeLabs_FlaskUtils/TheCodeLabs_FlaskUtils/FlaskBaseApp.py
TheCodeLabs_FlaskUtils/setup.py
+1
-1
1 addition, 1 deletion
TheCodeLabs_FlaskUtils/setup.py
with
3 additions
and
3 deletions
TheCodeLabs_FlaskUtils/TheCodeLabs_FlaskUtils/FlaskBaseApp.py
View file @
e8dd2177
...
@@ -48,7 +48,7 @@ class FlaskBaseApp(ABC):
...
@@ -48,7 +48,7 @@ class FlaskBaseApp(ABC):
with
open
(
settingsPath
,
'
r
'
,
encoding
=
'
UTF-8
'
)
as
f
:
with
open
(
settingsPath
,
'
r
'
,
encoding
=
'
UTF-8
'
)
as
f
:
return
json
.
load
(
f
)
return
json
.
load
(
f
)
def
__
init_app
(
self
):
def
init_app
(
self
):
app
=
self
.
_create_flask_app
()
app
=
self
.
_create_flask_app
()
app
.
secret_key
=
self
.
_serverSettings
[
'
secret
'
]
app
.
secret_key
=
self
.
_serverSettings
[
'
secret
'
]
...
@@ -83,7 +83,7 @@ class FlaskBaseApp(ABC):
...
@@ -83,7 +83,7 @@ class FlaskBaseApp(ABC):
pass
pass
def
start_server
(
self
):
def
start_server
(
self
):
self
.
_app
=
self
.
__
init_app
()
self
.
_app
=
self
.
init_app
()
if
self
.
_serverSettings
[
'
useSSL
'
]:
if
self
.
_serverSettings
[
'
useSSL
'
]:
protocol
=
'
https
'
protocol
=
'
https
'
...
...
This diff is collapsed.
Click to expand it.
TheCodeLabs_FlaskUtils/setup.py
View file @
e8dd2177
...
@@ -8,7 +8,7 @@ setup(
...
@@ -8,7 +8,7 @@ setup(
'
TheCodeLabs_FlaskUtils.content
'
,
'
TheCodeLabs_FlaskUtils.content
'
,
'
TheCodeLabs_FlaskUtils.menu
'
'
TheCodeLabs_FlaskUtils.menu
'
],
],
version
=
'
1.
2.3
'
,
version
=
'
1.
3.0
'
,
license
=
'
MIT
'
,
license
=
'
MIT
'
,
description
=
'
Useful python classes
'
,
description
=
'
Useful python classes
'
,
author
=
'
TheCodeLabs
'
,
author
=
'
TheCodeLabs
'
,
...
...
This diff is collapsed.
Click to expand it.