from typing import List

class Solution:
    def numberOfArithmeticSlices(self, nums: List[int]) -> int:
        print('hi')

Solution.numberOfArithmeticSlices(Solution, [1,2])
from typing import List

class Solution:
    def numberOfArithmeticSlices(self, nums: List[int]) -> int:
        print('hi')

Solution.numberOfArithmeticSlices(Solution, [1,2])