def _get_installed_entrypoint(subproject):
 if (subproject not in migration_entrypoints):
  alembic_util.err((_('Package %s not installed') % subproject))
 return migration_entrypoints[subproject]

def _get_installed_entrypoint ( subproject ) : if ( subproject not in migration_entrypoints ) : alembic_util . err ( ( _ ( 'Package %s not installed' ) % subproject ) ) return migration_entrypoints [ subproject ]
get the entrypoint for the subproject .