def create(self) -> Config:
    server_config = self.create_server()
    upstream_registry_config = self.create_upstream_registry()
    auth_config = self.create_auth()
    zipkin_config = self.create_zipkin()
    sentry_config = self.create_sentry()
    cluster_name = self._environ['NP_CLUSTER_NAME']
    assert cluster_name
    return Config(server=server_config, upstream_registry=upstream_registry_config, auth=auth_config, cluster_name=cluster_name, zipkin=zipkin_config, sentry=sentry_config)
def create(self) -> Config:
    server_config = self.create_server()
    upstream_registry_config = self.create_upstream_registry()
    auth_config = self.create_auth()
    zipkin_config = self.create_zipkin()
    sentry_config = self.create_sentry()
    cluster_name = self._environ['NP_CLUSTER_NAME']
    assert cluster_name
    return Config(server=server_config, upstream_registry=upstream_registry_config, auth=auth_config, cluster_name=cluster_name, zipkin=zipkin_config, sentry=sentry_config)