mirror of
				https://github.com/Akkudoktor-EOS/EOS.git
				synced 2025-10-31 06:46:20 +00:00 
			
		
		
		
	Fix horizon validation for non-integer angle divisions (#665)
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				docker-build / platform-excludes (push) Has been cancelled
				
			
		
			
				
	
				pre-commit / pre-commit (push) Has been cancelled
				
			
		
			
				
	
				Run Pytest on Pull Request / test (push) Has been cancelled
				
			
		
			
				
	
				docker-build / build (push) Has been cancelled
				
			
		
			
				
	
				docker-build / merge (push) Has been cancelled
				
			
		
			
				
	
				Close stale pull requests/issues / Find Stale issues and PRs (push) Has been cancelled
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	docker-build / platform-excludes (push) Has been cancelled
				
			pre-commit / pre-commit (push) Has been cancelled
				
			Run Pytest on Pull Request / test (push) Has been cancelled
				
			docker-build / build (push) Has been cancelled
				
			docker-build / merge (push) Has been cancelled
				
			Close stale pull requests/issues / Find Stale issues and PRs (push) Has been cancelled
				
			Fixes #647 - Change azimuthFrom/azimuthTo to float type to handle horizon counts that don't divide evenly into 360° Co-authored-by: Tobias Welz <tobias.wizneteu@gmail.com>
This commit is contained in:
		| @@ -92,8 +92,8 @@ from akkudoktoreos.utils.datetimeutil import compare_datetimes, to_datetime | ||||
|  | ||||
| class AkkudoktorForecastHorizon(PydanticBaseModel): | ||||
|     altitude: int | ||||
|     azimuthFrom: int | ||||
|     azimuthTo: int | ||||
|     azimuthFrom: float | ||||
|     azimuthTo: float | ||||
|  | ||||
|  | ||||
| class AkkudoktorForecastMeta(PydanticBaseModel): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user