Gets a JS object which contains the decoded body of the JWT. For now I am pasting this in to postman tests when I need to get JWT decoding
#Important Does not validate the token at all!
$prefixClass: rc-slider; | |
$disabledColor: #ccc; | |
$border-radius-base: 6px; | |
$primary-color: #2db7f5; | |
$tooltip-color: #fff; | |
$tooltip-bg: tint(#666, 4%); | |
$tooltip-arrow-width: 4px; | |
$tooltip-distance: $tooltip-arrow-width+4; | |
$tooltip-arrow-color: $tooltip-bg; |
Gets a JS object which contains the decoded body of the JWT. For now I am pasting this in to postman tests when I need to get JWT decoding
#Important Does not validate the token at all!
processor : 15 | |
vendor_id : GenuineIntel | |
cpu family : 6 | |
model : 26 | |
model name : Intel(R) Xeon(R) CPU X5570 @ 2.93GHz | |
stepping : 5 | |
microcode : 0x19 | |
cpu MHz : 1596.000 | |
cache size : 8192 KB | |
physical id : 1 |
from mongoengine import * | |
class UpdatableDocument(Document): | |
schema_version = IntField(default=0) | |
schema_updates = {} # Dictionary to hold all the updates | |
def __init__(self, *args, **kwargs): | |
values = self.schema_update(kwargs) |
I hereby claim:
To claim this, I am signing this object:
# Unittest style, written for easy port | |
def test_boolean_validator(self): | |
variations = ( | |
('False', 'err'), | |
('True', 'err'), | |
(0, 'err'), | |
(1, 'err'), | |
(True, True), | |
(False, False), |
# Minimal reproduction of | |
# "the [include_in_root] parameter can't be updated on a nested object mapping" | |
# When that error would not be expected | |
# | |
# Seems to happen with `settings.index.number_of_shards` > 1 | |
# | |
# Tested against Elasticsearch 7.9.2 | |
ES_HOST=localhost:19200 |