code: def get_metadata(bind):
      
      if bind == '':
          bind = None
      m = MetaData()
      for t in target_metadata.tables.values():
          if t.info.get('bind_key') == bind:
              t.tometadata(m)
      return m
docs: Return the metadata for a bind.