Lurosm commited on
Commit
a2b1f5e
·
verified ·
1 Parent(s): 67844eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ class PDOKLocationSearchInput(BaseModel):
21
  if v is not None and (len(v) != 7 or not v[0:4].isdigit() or v[4] != " " or not v[5:7].isalpha()):
22
  raise ValueError("Invalid postal code format. It must be '1234 AA'.")
23
  return v
24
-         
25
  def construct_query(self) -> str:
26
  """Constructs the query string based on provided inputs."""
27
  if self.postal_code and self.house_number:
 
21
  if v is not None and (len(v) != 7 or not v[0:4].isdigit() or v[4] != " " or not v[5:7].isalpha()):
22
  raise ValueError("Invalid postal code format. It must be '1234 AA'.")
23
  return v
24
+
25
  def construct_query(self) -> str:
26
  """Constructs the query string based on provided inputs."""
27
  if self.postal_code and self.house_number: