hunk.code_window:         self.assertEqual(200, response.code)
           self.assertEqual(b"test_message", response.body)
       def test_deprecated_endpoint(self):
           with self.assertLogs("streamlit.web.server.server_util") as logs:
               response = self.fetch("/script-health-check")
           self.assertEqual(200, response.code)
           self.assertEqual(b"test_message", response.body)
  
hunk.labels: keep keep keep keep replace replace keep keep
hunk.after_edit:         response = self.fetch("/script-health-check")
  
hunk.file_path: lib/tests/streamlit/web/server/server_test.py
hunk.type: replace
file: import { Data } from "../data";
  import { Visitor } from "../visitor";
  import { VectorType } from "../interfaces";
  import { Type } from "../enum";
  import {
    DataType,
    Dictionary,
    Bool,
    Null,
    Utf8,
    Binary,
    Decimal,
    FixedSizeBinary,
    List,
    FixedSizeList,
    Map_,
    Struct,
    Float,
    Float16,
    Float32,
    Float64,
    Int,
    Uint8,
    Uint16,
    Uint32,
    Uint64,
    Int8,
    Int16,
    Int32,
    Int64,
    Date_,
    DateDay,
    DateMillisecond,
    Interval,
    IntervalDayTime,
    IntervalYearMonth,
    Time,
    TimeSecond,
    TimeMillisecond,
    TimeMicrosecond,
    TimeNanosecond,
    Timestamp,
    TimestampSecond,
    TimestampMillisecond,
    TimestampMicrosecond,
    TimestampNanosecond,
    Union,
    DenseUnion,
    SparseUnion
  } from "../type";
  /** @ignore */
  export interface GetVisitor extends Visitor {
    visit<T extends VectorType>(node: T, index: number): T["TValue"];
    visitMany<T extends VectorType>(
      nodes: T[],
      indices: number[]
    ): T["TValue"][];
    getVisitFn<T extends Type>(
      node: T
    ): (vector: VectorType<T>, index: number) => VectorType<T>["TValue"];
    getVisitFn<T extends DataType>(
      node: VectorType<T> | Data<T> | T
    ): (vector: VectorType<T>, index: number) => VectorType<T>["TValue"];
    visitNull<T extends Null>(vector: VectorType<T>, index: number): T["TValue"];
    visitBool<T extends Bool>(vector: VectorType<T>, index: number): T["TValue"];
    visitInt<T extends Int>(vector: VectorType<T>, index: number): T["TValue"];
    visitInt8<T extends Int8>(vector: VectorType<T>, index: number): T["TValue"];
    visitInt16<T extends Int16>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitInt32<T extends Int32>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitInt64<T extends Int64>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitUint8<T extends Uint8>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitUint16<T extends Uint16>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitUint32<T extends Uint32>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitUint64<T extends Uint64>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitFloat<T extends Float>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitFloat16<T extends Float16>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitFloat32<T extends Float32>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitFloat64<T extends Float64>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitUtf8<T extends Utf8>(vector: VectorType<T>, index: number): T["TValue"];
    visitBinary<T extends Binary>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitFixedSizeBinary<T extends FixedSizeBinary>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitDate<T extends Date_>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitDateDay<T extends DateDay>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitDateMillisecond<T extends DateMillisecond>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitTimestamp<T extends Timestamp>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitTimestampSecond<T extends TimestampSecond>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitTimestampMillisecond<T extends TimestampMillisecond>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitTimestampMicrosecond<T extends TimestampMicrosecond>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitTimestampNanosecond<T extends TimestampNanosecond>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitTime<T extends Time>(vector: VectorType<T>, index: number): T["TValue"];
    visitTimeSecond<T extends TimeSecond>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitTimeMillisecond<T extends TimeMillisecond>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitTimeMicrosecond<T extends TimeMicrosecond>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitTimeNanosecond<T extends TimeNanosecond>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitDecimal<T extends Decimal>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitList<T extends List>(vector: VectorType<T>, index: number): T["TValue"];
    visitStruct<T extends Struct>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitUnion<T extends Union>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitDenseUnion<T extends DenseUnion>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitSparseUnion<T extends SparseUnion>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitDictionary<T extends Dictionary>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitInterval<T extends Interval>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitIntervalDayTime<T extends IntervalDayTime>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitIntervalYearMonth<T extends IntervalYearMonth>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitFixedSizeList<T extends FixedSizeList>(
      vector: VectorType<T>,
      index: number
    ): T["TValue"];
    visitMap<T extends Map_>(vector: VectorType<T>, index: number): T["TValue"];
  }
  /** @ignore */
  export declare class GetVisitor extends Visitor {}
  /** @ignore */
  export declare const instance: GetVisitor;
  