medi/inference/compiled/__init__.py
def create_simple_object(inference_state, obj):
    """
    Only allows creations of objects that are easily picklable across Python
    versions.
    """
    assert type(obj) in (int, float, str, bytes, unicode, slice, complex, bool), obj
    compiled_value = create_from_access_path(
        inference_state,
        inference_state.compiled_subprocess.create_simple_object(obj)
    )
    return ExactValue(compiled_value)

    Only allows creations of objects that are easily picklable across Python
    versions.
    
Only allows creations of objects that are easily picklable across Python
versions.
Only allows creations of objects that are easily picklable across Python versions .
def create_simple_object(inference_state, obj):
    assert type(obj) in (int, float, str, bytes, unicode, slice, complex, bool), obj
    compiled_value = create_from_access_path(
        inference_state,
        inference_state.compiled_subprocess.create_simple_object(obj)
    )
    return ExactValue(compiled_value)
def create_simple_object ( inference_state , obj ) : assert type ( obj ) in ( int , float , str , bytes , unicode , slice , complex , bool ) , obj compiled_value = create_from_access_path ( inference_state , inference_state . compiled_subprocess . create_simple_object ( obj ) ) return ExactValue ( compiled_value )
Only allows creations of objects that are easily picklable across Python
versions.
Only allows creations of objects that are easily picklable across Python versions .
"""
    Only allows creations of objects that are easily picklable across Python
    versions.
    """
inference_state
obj