pm4py.streaming.util.dictio.versions.redis module#
PM4Py – A Process Mining Library for Python Copyright (C) 2026 Process Intelligence Solutions GmbH
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see this software project’s root or visit <https://www.gnu.org/licenses/>.
Website: https://processintelligence.solutions Contact: info@processintelligence.solutions
- class pm4py.streaming.util.dictio.versions.redis.Parameters(*values)[source]#
Bases:
Enum- HOSTNAME = 'hostname'#
- PORT = 'port'#
- DICT_ID = 'dict_id'#
- class pm4py.streaming.util.dictio.versions.redis.ThreadSafeRedisDict(redis_connection, *args, **kw)[source]#
Bases:
dict
- pm4py.streaming.util.dictio.versions.redis.apply(parameters: Dict[Any, Any] | None = None)[source]#
Create a Python dictionary supported by a Redis database
- Parameters:
parameters – Parameters of the algorithm, including: - Parameters.HOSTNAME => hostname of the connection to Redis (default: 127.0.0.1) - Parameters.PORT => port of the connection to Redis (default: 6379) - Parameters.DICT_ID => integer identifier of the specific dictionary in Redis (default: 0)
- Returns:
Redis (Python-like) dictionary
- Return type:
r