from typing import NewType

class HotDog:
    pass

ReadyToServeHotDog = NewType("ReadyToServeHotDog", HotDog)

def create_hot_dog() -> ReadyToServeHotDog:
    hot_dog = HotDog()
    return ReadyToServeHotDog(hot_dog)

def create(): 
    hot_dog=ReadyToServeHotDog(HotDog())

from typing import NewType

class HotDog:
    pass

ReadyToServeHotDog = NewType("ReadyToServeHotDog", HotDog)

def create_hot_dog() -> ReadyToServeHotDog:
    hot_dog = HotDog()
    return ReadyToServeHotDog(hot_dog)

def create(): 
    hot_dog=ReadyToServeHotDog(HotDog())
