Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit 082c1fc

Browse files
author
Samuel Hassine
committed
[client] Fix formatting & version
1 parent 0bfc5fa commit 082c1fc

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

examples/export_incident_stix2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
opencti_api_client = OpenCTIApiClient(api_url, api_token)
1313

1414
# Get the incident created in the create_incident_with_ttps_and_indicators.py
15-
incident = opencti_api_client.x_opencti_incident.read(
15+
incident = opencti_api_client.incident.read(
1616
filters=[{"key": "name", "values": ["My new incident"]}]
1717
)
1818

pycti/connector/opencti_connector_helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,10 +493,10 @@ def log_error(self, msg):
493493

494494
def log_info(self, msg):
495495
logging.info(msg)
496-
496+
497497
def log_debug(self, msg):
498498
logging.debug(msg)
499-
499+
500500
def log_warning(self, msg):
501501
logging.warning(msg)
502502

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from setuptools import setup
77
from setuptools.command.install import install
88

9-
VERSION = "4.5.3"
9+
VERSION = "4.5.4"
1010

1111
with open("README.md", "r") as fh:
1212
long_description = fh.read()

0 commit comments

Comments
 (0)