def get_scalar_with_integer_bounds(lower: int, upper: int, type: Any) -> ng.p.Scalar:
    scalar = type(lower=lower, upper=upper)
    scalar.set_integer_casting()
    assert isinstance(scalar, ng.p.Scalar)
    return scalar
def get_scalar_with_integer_bounds(lower: int, upper: int, type: Any) -> ng.p.Scalar:
    scalar = type(lower=lower, upper=upper)
    scalar.set_integer_casting()
    assert isinstance(scalar, ng.p.Scalar)
    return scalar