Skip to content

Commit

Permalink
Merge pull request #65 from fluves/fix_typo
Browse files Browse the repository at this point in the history
Fix cp error with without
  • Loading branch information
johanvdw authored Oct 4, 2023
2 parents 4553fc9 + afb7d55 commit 169c286
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Version 0.5.0
Version 0.4.0
=============

- Switch local caching (#32) to temporary os directoy instead of project directory
- Switch local caching (#32) to temporary os directory instead of project directory
- Extend example/documentation:
- Add example on how to request start/end date of a time series metadata (#33)

Expand Down
4 changes: 2 additions & 2 deletions docs/cache.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ When you want to make sure to not use a cached requests, make sure to empty the
vmm.get_timeseries_list(station_no="ME09_012")


To see if the response is retrieved from cache or not, activate the loggin, see `page on logging <logging>`_.
To see if the response is retrieved from cache or not, activate the logging, see `page on logging <logging>`_.

.. warning::

When downloading a lot of (small) data with many requests in a short amount of time the cache can grow quickly. This increases the computational time to check if a request already has been made and can be retrieved from the cache. Clearing the cache can overcome increasing initializaton time:
When downloading a lot of (small) data with many requests in a short amount of time the cache can grow quickly. This increases the computational time to check if a request already has been made and can be retrieved from the cache. Clearing the cache can overcome increasing initialization time:

::

Expand Down
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ Issues with SSL
Note that for some companies/environments, you may have to add a custom SSL certificate to the certifi repository for
the urllib queries to work. This is typically the case if you experience :code:`SSL: CERTIFICATE_VERIFY_FAILED` errors. There
in the utils module, there is a convenient helper routine to do just that: :func:`~pywaterinfo.utils.add_ssl_cert`.
Please contact your network administrator / ICT staff to obtain the relevant certificat to use inside your
Please contact your network administrator / ICT staff to obtain the relevant certificate to use inside your
domain to enable the https requests with urllib.
2 changes: 1 addition & 1 deletion src/pywaterinfo/waterinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def request_kiwis(self, query: dict, headers: dict = None) -> dict:
else:
logging.info(
f"Successful waterinfo API request with call {res.url} "
f"(call to waterinfo.be with without cache activated)."
f"(call to waterinfo.be without cache activated)."
)

parsed = res.json()
Expand Down

0 comments on commit 169c286

Please sign in to comment.