Skip to content

Instantly share code, notes, and snippets.

View evanostroski's full-sized avatar
🦊
iykyk

Evan Ostroski evanostroski

🦊
iykyk
View GitHub Profile
from datetime import date, datetime
import json
from requests import sessions
_session = sessions.Session()
class Serializer(json.JSONEncoder):
def default(self, obj):
if isinstance(obj, (date, datetime)):
return obj.isoformat()
return json.JSONEncoder.default(self, obj)
class APIError(Exception):

Keybase proof

I hereby claim:

  • I am evanostroski on github.
  • I am evanostroski (https://keybase.io/evanostroski) on keybase.
  • I have a public key ASAcG4CY36PbNNmxh3SAQQgMD_LHUofBeVwIr1GLIE-DEAo

To claim this, I am signing this object:

// Changed this:
[Gigya showPluginDialogOver:self
plugin:@"accounts.screenSet"
parameters:@{@"screenSet":@"Mobile-login-shea", @"startScreen":@"gigya-register-screen"}
completionHandler:^(BOOL closedByUser, NSError * _Nullable error) {
}
// To this
[Gigya showPluginDialogOver:self
plugin:@"accounts.screenSet"
parameters:@{@"screenSet":@"Mobile-login-shea"}
{
"errorCode":400025,
"message":"write access mode violation",
"fieldName":"data.domain"
}