Skip to content

Commit e2c0954

Browse files
authored
Access pyms from current_app (#57)
1 parent f14f13c commit e2c0954

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pyms/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
__email__ = "[email protected]"
44

5-
__version__ = "1.2.0"
5+
__version__ = "1.3.0"

pyms/flask/app/create_app.py

+1
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ def create_app(self):
9999
self.application = self.init_app()
100100
self.application.config.from_object(self.config)
101101
self.application.tracer = None
102+
self.application.ms = self
102103

103104
# Initialize Blueprints
104105
self.application.register_blueprint(healthcheck_blueprint)

0 commit comments

Comments
 (0)