code: def refresh_user_function_metadata(self, keyspace, function, max_schema_agreement_wait=None):
          
          if not self.control_connection.refresh_schema(target_type=SchemaTargetType.FUNCTION, keyspace=keyspace, function=function,
                                                        schema_agreement_wait=max_schema_agreement_wait, force=True):
              raise DriverException("User Function metadata was not refreshed. See log for details.")
docs: Synchronously refresh user defined function metadata.
  
          ``function`` is a :class:`cassandra.UserFunctionDescriptor`.
  
          See :meth:`~.Cluster.refresh_schema_metadata` for description of ``max_schema_agreement_wait`` behavior