code: def __post_init__(self):
      # validations
      assert self.where in (
          "query",
          "body",
          "path",
          "definitions",
          "formData",
      ), (
          self.name,
          self.where,
      )
      assert self.where != "path" or self.required, self.name
      if self.where == "path":
          if not isinstance(self.type, (String, Int)):
              raise AssertionError(
                  f"bad type in path parameter {self.name}: {self.type}"
              )
      if self.where == "query":
          underlying_typ = (
              self.type.items
              if isinstance(self.type, Sequence)
              else self.type
          )
          if not isinstance(
              underlying_typ, (String, Int, Bool, DateTime, Float)
          ):
              if not (
                  isinstance(underlying_typ, Ref)
                  and underlying_typ.url_encodable
              ):
                  raise AssertionError(
                      f"bad type in query parameter {self.name}: {self.type}"
                  )
      if self.where == "formData":
          logging.warning(
              f"""The bindings for endpoints that use `formData` are not currently supported!
  
  We need to properly support Multipart FormData
  in our binding generation and requests library before these bindings can be safely used.
  
  This is a temporary workaround. Ticket for fixing this properly: https://hpe-aiatscale.atlassian.net/browse/MLG-1019
  """
          )
  
imports: import json
  import logging
  import sys
  import typing
  from dataclasses import dataclass, field
  import typing_extensions
label_desc: Use image node_id 1 for calling the Parameter obj's underlying member method code with example usage: obj.__post_init__() without return types