GuidesTypeScript API ReferencePython v2 API Reference
Guides

How to configure HERE Data SDK for Python

The HERE Data SDK for Python is configured via jproperties.

This means that if the default values do not fit your application's needs you can overwrite one or more configuration parameters accordingly.

The default path to the application configuration file is

  • for Linux/MacOS: $HOME/.here/application_config.conf
  • for Windows: %USERPROFILE%\.here\application_config.conf

These are the configuration parameters for the HERE Data SDK for Python.

Parameter NameDescriptionDefault Value
READ_TIMEOUTThis is the time in seconds it waits for any HTTP response.60
RETRY_MAX_TIMEThis is the overall time in seconds it tries to get a successful response (incl. retries).195
CONNECT_TIMEOUTThis is the time in seconds it waits for a HTTP connection.3.05
CONNECT_RETRY_MAX_TIMEThis is the overall time in seconds it tries to get a HTTP connection.10
POLLING_WAITThis is the time in seconds it waits between repeated status retrieval requests.5
MAX_OBJECT_STORE_UPLOAD_PART_SIZE_MBThis is the default maximum size of objectstore upload parts (in megabytes (MB)).96

Example:

RETRY_MAX_TIME = 600 # let's try a bit longer
READ_TIMEOUT = 120