Skip to content

Commit e722c9d

Browse files
committed
Fix pipeline
1 parent d6bd461 commit e722c9d

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.gitignore
1+
.gitignore

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Asynchronous Python client for the OpenSky API.
1414

1515
## About
1616

17-
This package allows you to request data about aircrafts
17+
This package allows you to request data about aircraft around the world.
1818

1919
## Installation
2020

src/opensky/opensky.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,7 @@ async def states(self) -> StatesResponse:
140140
"category",
141141
]
142142

143-
data = {
144-
**data,
145-
"states": [
146-
dict(zip(keys, state))
147-
for state in data["states"]
148-
]
149-
}
143+
data = {**data, "states": [dict(zip(keys, state)) for state in data["states"]]}
150144

151145
return StatesResponse.parse_obj(data)
152146

0 commit comments

Comments
 (0)