Skip to content

Commit a6cf6e8

Browse files
shmuel44omerKarkKatz
authored andcommitted
[MongoDBAtlasEventCollector] MyPy In Docker (#38139)
* fix * docker * RN
1 parent ae884ff commit a6cf6e8

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

Packs/MongoDBAtlas/Integrations/MongoDBAtlasEventCollector/MongoDBAtlasEventCollector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ def first_time_fetching_events(client: Client, fetch_limit: int) -> tuple[list,
385385
enrich_event(event, event_type='events')
386386
last_fetched_event = results[0] if results else None
387387
new_min_time = last_fetched_event.get('created') if last_fetched_event else None
388-
return results, new_min_time
388+
return results, new_min_time # type: ignore[return-value]
389389

390390

391391
def fetch_events_command(client: Client, fetch_limit: int, last_run: dict) -> tuple[list, dict]:

Packs/MongoDBAtlas/Integrations/MongoDBAtlasEventCollector/MongoDBAtlasEventCollector.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ script:
6161
name: limit
6262
required: true
6363
outputs:
64-
- contextPath: MongoDBAtlasEventCollector
65-
description: The list of the events and alerts.
66-
type: List
64+
- contextPath: MongoDBAtlasEventCollector
65+
description: The list of the events and alerts.
66+
type: List
6767
runonce: false
6868
script: '-'
6969
type: python
7070
subtype: python3
7171
isfetchevents: true
72-
dockerimage: demisto/python3:3.11.10.116439
72+
dockerimage: demisto/python3:3.11.11.1940698
7373
fromversion: 6.10.0
7474
marketplaces:
7575
- marketplacev2
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
#### Integrations
3+
4+
##### MongoDB Atlas
5+
6+
Updated the Docker image to: *demisto/python3:3.11.11.1940698*.

Packs/MongoDBAtlas/pack_metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "MongoDB Atlas",
33
"description": "Cloud-based database service for deploying, managing, and scaling MongoDB clusters.",
44
"support": "xsoar",
5-
"currentVersion": "1.0.1",
5+
"currentVersion": "1.0.2",
66
"author": "Cortex XSOAR",
77
"url": "https://www.paloaltonetworks.com/cortex",
88
"email": "",

0 commit comments

Comments
 (0)