When trying to import BullockCircleFitting class, error pops-up:
TypeError: Parameters to generic types must be types. Got <module 'Common.Point' from '/path_on_my_pc/Common/Point.py'>
It prevents me from trying the code. Any ideas on solving this? Is Point class allowed to be used the way it is called in BullockCircleFitting.py when initializing the BullockCircleFitting class:
class BullockCircleFitting(object):
"""Implements Randy Bullock algorithm for circle fitting"""
def __init__(self,points:List[Point]):
self._points=points
When trying to import BullockCircleFitting class, error pops-up:
TypeError: Parameters to generic types must be types. Got <module 'Common.Point' from '/path_on_my_pc/Common/Point.py'>It prevents me from trying the code. Any ideas on solving this? Is Point class allowed to be used the way it is called in BullockCircleFitting.py when initializing the BullockCircleFitting class: