Skip to content

Commit 4c94804

Browse files
committed
fix tag obfuscation
1 parent 6bb4d69 commit 4c94804

File tree

11 files changed

+15
-13
lines changed

11 files changed

+15
-13
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ all: format lint
22

33
-include .env
44

5-
GS_REST_SERVICE_VERSIONM ?= "25.11.0-rc4"
6-
GS_REST_SERVICE_VERSION ?= "1.15.0-rc4"
5+
GS_REST_SERVICE_VERSIONM ?= "25.11.0-rc5"
6+
GS_REST_SERVICE_VERSION ?= "1.15.0-rc5"
77

88
GS_REST_DEV_PORT ?= 9000
99
NUM_WORKERS ?= 1

clients/python/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ GraphSense API provides programmatic access to various ledgers' addresses, entit
33

44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

6-
- API version: 1.15.0-rc4
7-
- Package version: 1.15.0-rc4
6+
- API version: 1.15.0-rc5
7+
- Package version: 1.15.0-rc5
88
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
99

1010
## Requirements.

clients/python/graphsense/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"""
1111

1212

13-
__version__ = "1.15.0-rc4"
13+
__version__ = "1.15.0-rc5"
1414

1515
# import ApiClient
1616
from graphsense.api_client import ApiClient

clients/python/graphsense/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7676
self.default_headers[header_name] = header_value
7777
self.cookie = cookie
7878
# Set default User-Agent.
79-
self.user_agent = 'OpenAPI-Generator/1.15.0-rc4/python'
79+
self.user_agent = 'OpenAPI-Generator/1.15.0-rc5/python'
8080

8181
def __enter__(self):
8282
return self

clients/python/graphsense/configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,8 +405,8 @@ def to_debug_report(self):
405405
return "Python SDK Debug Report:\n"\
406406
"OS: {env}\n"\
407407
"Python Version: {pyversion}\n"\
408-
"Version of the API: 1.15.0-rc4\n"\
409-
"SDK Package Version: 1.15.0-rc4".\
408+
"Version of the API: 1.15.0-rc5\n"\
409+
"SDK Package Version: 1.15.0-rc5".\
410410
format(env=sys.platform, pyversion=sys.version)
411411

412412
def get_host_settings(self):

clients/python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "graphsense-python"
3-
version = "1.15.0-rc4"
3+
version = "1.15.0-rc5"
44
description = "GraphSense API"
55
readme = { file = "README.md", content-type = "text/markdown; charset=UTF-8; variant=GFM" }
66
requires-python = ">=3.6"

gsrest/builtin/plugins/obfuscate_tags/obfuscate_tags.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ def obfuscate_tagpack_uri_by_rule(rule, tags):
3333
obfuscate_tagpack_uri_by_rule(rule, tag)
3434
else:
3535
# use regex in rule to check if uri needs to be redacted
36+
if tags.tagpack_uri is None:
37+
return
3638
pattern = re.compile(rule)
3739
if pattern.match(tags.tagpack_uri):
3840
tags.tagpack_uri = ""

openapi_server/openapi/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ info:
55
name: Iknaio Cryptoasset Analytics GmbH
66
description: GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks.
77
title: GraphSense API
8-
version: 1.15.0-rc4
8+
version: 1.15.0-rc5
99
servers:
1010
- url: https://api.ikna.io
1111
paths:

openapi_spec/graphsense.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ info:
55
contact:
66
name: Iknaio Cryptoasset Analytics GmbH
77
email: contact@ikna.io
8-
version: "1.15.0-rc4"
8+
version: "1.15.0-rc5"
99
servers:
1010
- url: 'https://api.ikna.io'
1111
paths:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "gsrest"
3-
version = "1.15.0-rc4"
3+
version = "1.15.0-rc5"
44
description = "GraphSense API REST API"
55
readme = "README.md"
66
keywords = ["OpenAPI", "GraphSense API"]

0 commit comments

Comments
 (0)