Esri / ArcREST

python package for REST API (AGS, AGOL, webmap JSON, etc..)
Apache License 2.0
192 stars 155 forks source link

Fix issue #280 - "KeyError: 'security_type'" exceptions #281

Closed sloanlance closed 7 years ago

sloanlance commented 7 years ago

Fix several "KeyError: 'security_type'" exceptions. The security_type key is supposed to be optional and default to Portal. These lines of code were referring to securityinfo['security_type'] instead of self._security_type.

Resolves #280: "KeyError: 'security_type'" exceptions

achapkowski commented 7 years ago

@MikeMillerGIS - can you verify this code please?

sloanlance commented 7 years ago

Thanks, @achapkowski. Let me know if you have questions, @MikeMillerGIS.

sloanlance commented 7 years ago

Thanks, @MikeMillerGIS.