mirror of
				https://github.com/OpenSPG/openspg.git
				synced 2025-11-04 03:55:40 +00:00 
			
		
		
		
	fix(schema): fix event type inheritance error (#67)
This commit is contained in:
		
							parent
							
								
									711c2be2b1
								
							
						
					
					
						commit
						658dbec25a
					
				@ -310,7 +310,7 @@ class SPGSchemaMarkLang:
 | 
			
		||||
            spg_type = EntityType(
 | 
			
		||||
                name=f"{self.namespace}.{type_name}", name_zh=type_name_zh
 | 
			
		||||
            )
 | 
			
		||||
            if type_class == "EventType":
 | 
			
		||||
            if parent_spg_type.spg_type_enum == SpgTypeEnum.Event:
 | 
			
		||||
                spg_type = EventType(
 | 
			
		||||
                    name=f"{self.namespace}.{type_name}", name_zh=type_name_zh
 | 
			
		||||
                )
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user