dd-trace
    Preparing search index...

    Interface Dataset

    interface Dataset {
        addRecord(
            input: JSONType,
            expectedOutput?: JSONType,
            metadata?: Record<string, JSONType>,
        ): Dataset;
        id(): string | null;
        latestVersion(): number | null;
        name(): string;
        projectId(): string | null;
        push(): Promise<DatasetPushResult>;
        records(): {
            expectedOutput: JSONType;
            id: string
            | null;
            input: JSONType;
            metadata: Record<string, JSONType>;
        }[];
        url(): string | null;
        version(): number | null;
    }
    Index
    • Returns number | null

    • Returns string | null

    • Returns {
          expectedOutput: JSONType;
          id: string | null;
          input: JSONType;
          metadata: Record<string, JSONType>;
      }[]

    • Dashboard URL for the dataset, or null until pushed.

      Returns string | null