@ -5,7 +5,7 @@ from .generator_utils import generic_generate_func_impl, generic_generate_intern
fromtypingimportOptional,List,Union
fromtypingimportOptional,List,Union
importast
importast
importre
importre
from parse importparse_code_block,add_code_block
from.parse importparse_code_block,add_code_block
PY_SIMPLE_COMPLETION_INSTRUCTION="# Write the body of this function only."
PY_SIMPLE_COMPLETION_INSTRUCTION="# Write the body of this function only."
PY_REFLEXION_COMPLETION_INSTRUCTION="You are a Python writing assistant. You will be given your past function implementation, a series of unit tests, and a hint to change the implementation appropriately. Write your full implementation (restate the function signature).\n\n-----"
PY_REFLEXION_COMPLETION_INSTRUCTION="You are a Python writing assistant. You will be given your past function implementation, a series of unit tests, and a hint to change the implementation appropriately. Write your full implementation (restate the function signature).\n\n-----"