File tree 1 file changed +4
-20
lines changed
1 file changed +4
-20
lines changed Original file line number Diff line number Diff line change @@ -166,30 +166,14 @@ class DeploymentStatus(GitHubCore):
166
166
167
167
def _update_attributes (self , status ):
168
168
self ._api = status ['url' ]
169
-
170
- #: GitHub's id for this deployment status
169
+ self .created_at = self ._strptime (status ['created_at' ])
170
+ self .creator = users .ShortUser (status ['creator' ], self )
171
+ self .deployment_url = status ['deployment_url' ]
172
+ self .description = status ['description' ]
171
173
self .id = status ['id' ]
172
-
173
- #: State of the deployment status
174
174
self .state = status ['state' ]
175
-
176
- #: Creater of the deployment status
177
- self .creator = users .ShortUser (status ['creator' ], self )
178
-
179
- #: Target URL of the deployment
180
175
self .target_url = status ['target_url' ]
181
-
182
- #: Date the deployment status was created
183
- self .created_at = self ._strptime (status ['created_at' ])
184
-
185
- #: Date the deployment status was updated
186
176
self .updated_at = self ._strptime (status ['updated_at' ])
187
177
188
- #: Description of the deployment
189
- self .description = status ['description' ]
190
-
191
- #: URL for the deployment this status is associated with
192
- self .deployment_url = status ['deployment_url' ]
193
-
194
178
def _repr (self ):
195
179
return '<DeploymentStatus [{0}]>' .format (self .id )
You can’t perform that action at this time.
0 commit comments