
    Y%h:                     6    d dl Z ddlmZ ddlmZ ddlmZ d Zy)    N   )NAMESPACE_PACKAGE   )PluginMetadata)loggerc                    g }|D ]  }t        j                  d|        	 t        j                  |       }t	        |d      s-t        j
                  | d       t        | dt         d      |j                  D ][  }t        |t              s(t        j
                  d| d       t        d| d      |j                  | k(  sK|j                  |       ]  |S # t        $ r t        j
                  d| d	       Y w xY w)
NzLooking for plugins in __installables__z does not have __installables__z contains the z5 namespace package but does not have __installables__zinstallable item in z/.__installables__ is not of type PluginMetadataz3Something went wrong while looking for plugins in '')r   info	importlibimport_modulehasattr	exception	Exceptionr   r	   
isinstancer   target_objectappendModuleNotFoundError)target_namesubpackagespluginspackageplugin_moduleplugins         /var/www/pru.catia.catastroantioquia-mas.com/valormas/lib/python3.12/site-packages/pinecone_plugin_interface/actions/discover_plugins.pydiscover_pluginsr      s(   G -gY78	%33wiAM=*<=  G9,K!LM7)>:K9L  MB  !C  D  D+<< 3F%fn=((+?yHw)xy'*>wiGv(wxx!//;>#NN623& N	 # 	RSZR[[\]^	s   B%CC"DD)r   	constantsr   plugin_metadatar   loggingr   r        r   <module>r"      s     ( , r!   