Některé property není potřeba cachovat
Zdaleka nezaručuji, že jsou tady všechny takové…
This commit is contained in:
		
							parent
							
								
									da0cf2e4cc
								
							
						
					
					
						commit
						cb922ddd67
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -95,11 +95,11 @@ class Vysledkovka(abc.ABC): | ||||||
| 			return [], [] | 			return [], [] | ||||||
| 		return tuple(zip(*self.resitele_s_body_za_rocnik_setrizeny_seznam)) | 		return tuple(zip(*self.resitele_s_body_za_rocnik_setrizeny_seznam)) | ||||||
| 
 | 
 | ||||||
| 	@cached_property | 	@property | ||||||
| 	def setrizeni_resitele_id(self) -> list[int]: | 	def setrizeni_resitele_id(self) -> list[int]: | ||||||
| 		return self.body_za_rocnik_seznamy[0] | 		return self.body_za_rocnik_seznamy[0] | ||||||
| 
 | 
 | ||||||
| 	@cached_property | 	@property | ||||||
| 	def setrizene_body(self) -> list[int]: | 	def setrizene_body(self) -> list[int]: | ||||||
| 		return self.body_za_rocnik_seznamy[1] | 		return self.body_za_rocnik_seznamy[1] | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Pavel "LEdoian" Turinsky
						Pavel "LEdoian" Turinsky