my-cloud-devops-consulting 1.1.202504010015__py3-none-any.whl → 1.1.202504010038__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- app.py +4 -2
- {my_cloud_devops_consulting-1.1.202504010015.dist-info → my_cloud_devops_consulting-1.1.202504010038.dist-info}/METADATA +1 -1
- my_cloud_devops_consulting-1.1.202504010038.dist-info/RECORD +5 -0
- my_cloud_devops_consulting-1.1.202504010015.dist-info/RECORD +0 -5
- {my_cloud_devops_consulting-1.1.202504010015.dist-info → my_cloud_devops_consulting-1.1.202504010038.dist-info}/WHEEL +0 -0
- {my_cloud_devops_consulting-1.1.202504010015.dist-info → my_cloud_devops_consulting-1.1.202504010038.dist-info}/top_level.txt +0 -0
app.py
CHANGED
@@ -14,8 +14,10 @@ login_manager = LoginManager()
|
|
14
14
|
|
15
15
|
login_manager.init_app(app)
|
16
16
|
|
17
|
-
decoded_mongo_url = f"mongodb+srv://{quote_plus(MONGO_USERNAME)}:{quote_plus(MONGO_PASSWORD)}@cluster.7plpy.mongodb.net/my-database?retryWrites=true&w=majority"
|
18
|
-
client = MongoClient(decoded_mongo_url)
|
17
|
+
# decoded_mongo_url = f"mongodb+srv://{quote_plus(MONGO_USERNAME)}:{quote_plus(MONGO_PASSWORD)}@cluster.7plpy.mongodb.net/my-database?retryWrites=true&w=majority"
|
18
|
+
# client = MongoClient(decoded_mongo_url)
|
19
|
+
client = MongoClient(MONGO_URI)
|
20
|
+
|
19
21
|
db = client['my-database'] # Specify your database as shown in the MongoDB Atlas interface
|
20
22
|
users_collection = db['inventory_collection'] # Collection for storing user data
|
21
23
|
|
@@ -0,0 +1,5 @@
|
|
1
|
+
app.py,sha256=RG24jT7rE4DwbJgshPpwRyYRNTKSez5tn2FhLEeUhyc,5329
|
2
|
+
my_cloud_devops_consulting-1.1.202504010038.dist-info/METADATA,sha256=xC-S15lFFpdHcH0ClaVsfFpsKSlisgNMBdR92HRD4z8,1168
|
3
|
+
my_cloud_devops_consulting-1.1.202504010038.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
4
|
+
my_cloud_devops_consulting-1.1.202504010038.dist-info/top_level.txt,sha256=io9g7LCbfmTG1SFKgEOGXmCFB9uMP2H5lerm0HiHWQE,4
|
5
|
+
my_cloud_devops_consulting-1.1.202504010038.dist-info/RECORD,,
|
@@ -1,5 +0,0 @@
|
|
1
|
-
app.py,sha256=w8TVA4NnaJbOZ2y2ZVgrGHpqFhv430E0WjXw-7mZb1s,5292
|
2
|
-
my_cloud_devops_consulting-1.1.202504010015.dist-info/METADATA,sha256=6Tr7sZQgXBwekUVHjUaKFxjQRCoPlhe4lDnVf7lZoD8,1168
|
3
|
-
my_cloud_devops_consulting-1.1.202504010015.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
4
|
-
my_cloud_devops_consulting-1.1.202504010015.dist-info/top_level.txt,sha256=io9g7LCbfmTG1SFKgEOGXmCFB9uMP2H5lerm0HiHWQE,4
|
5
|
-
my_cloud_devops_consulting-1.1.202504010015.dist-info/RECORD,,
|
File without changes
|