Skip to content

Commit

Permalink
Merge pull request #242 from OnroerendErfgoed/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
claeyswo committed Nov 24, 2023
2 parents f54e433 + f7592f3 commit 91c1222
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
1.3.1 (23-11-2023)
------------------

- Fix None rendering as string

1.3.0 (23-11-2023)
------------------

Expand Down
7 changes: 5 additions & 2 deletions crabpy/gateway/adressenregister.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,9 +522,12 @@ def get_gebouw_by_id(self, gebouw_id):
return Gebouw.from_get_response(self.client.get_gebouw(gebouw_id), self)


class CallableString(str):
class CallableString:
def __init__(self, s):
self.s = s

def __call__(self, *args, **kwargs):
return self
return self.s


class GatewayObject:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setup(
name="crabpy",
version="1.3.0",
version="1.3.1",
description="Interact with geographical webservices by Informatie Vlaanderen.",
long_description=open("README.rst").read() + "\n\n" + open("CHANGES.rst").read(),
author="Onroerend Erfgoed",
Expand Down

0 comments on commit 91c1222

Please sign in to comment.