code: def current(self):
          # type: () -> Hub
          
          rv = _local.get(None)
          if rv is None:
              rv = Hub(GLOBAL_HUB)
              _local.set(rv)
          return rv
docs: Returns the current instance of the hub.