diff --git a/.buildinfo b/.buildinfo
index 3650f15..7544cb5 100644
--- a/.buildinfo
+++ b/.buildinfo
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
-config: a541620f197690f748937dc6f81a382b
+config: a88fa761b2303302f0d525093a2315df
tags: 645f666f9bcd5a90fca523b33c5a78b7
diff --git a/_modules/example/boilerplate.html b/_modules/example/boilerplate.html
index 838ac80..1f4856f 100644
--- a/_modules/example/boilerplate.html
+++ b/_modules/example/boilerplate.html
@@ -5,7 +5,7 @@
item [ "decrypted" ] = True
item [ "compressed" ] = is_compressed
- if uncompress_document and "document" in data :
+ document = data . get ( "document" )
+ if uncompress_document and isinstance ( document , str ):
unpacker . restore_state ( unpacker_state )
- data [ "document" ] = unpacker . unpack ( b64decode ( data [ "document" ]))
+ data [ "document" ] = unpacker . unpack ( b64decode ( document ))
continue
@@ -478,7 +479,7 @@ Navigation
modules |
-
NovelAI API 0.28.0 documentation »
+
NovelAI API 0.28.1 documentation »
Module code »
novelai_api.utils
diff --git a/_modules/tests/api/boilerplate.html b/_modules/tests/api/boilerplate.html
index ab69ff1..5b02931 100644
--- a/_modules/tests/api/boilerplate.html
+++ b/_modules/tests/api/boilerplate.html
@@ -5,7 +5,7 @@
-
tests.api.boilerplate — NovelAI API 0.28.0 documentation
+
tests.api.boilerplate — NovelAI API 0.28.1 documentation
@@ -43,7 +43,7 @@
Navigation
modules |
-
NovelAI API 0.28.0 documentation »
+
NovelAI API 0.28.1 documentation »
Module code »
tests.api.boilerplate
@@ -260,7 +260,7 @@
Navigation
modules |
-
NovelAI API 0.28.0 documentation »
+
NovelAI API 0.28.1 documentation »
Module code »
tests.api.boilerplate
diff --git a/_modules/tests/api/test_decrypt_encrypt_integrity_check.html b/_modules/tests/api/test_decrypt_encrypt_integrity_check.html
index 4e9b15a..a967701 100644
--- a/_modules/tests/api/test_decrypt_encrypt_integrity_check.html
+++ b/_modules/tests/api/test_decrypt_encrypt_integrity_check.html
@@ -5,7 +5,7 @@
-
tests.api.test_decrypt_encrypt_integrity_check — NovelAI API 0.28.0 documentation
+
tests.api.test_decrypt_encrypt_integrity_check — NovelAI API 0.28.1 documentation
@@ -43,7 +43,7 @@
Navigation
modules |
-
NovelAI API 0.28.0 documentation »
+
NovelAI API 0.28.1 documentation »
Module code »
tests.api.test_decrypt_encrypt_integrity_check
@@ -307,7 +307,7 @@
Navigation
modules |
-
NovelAI API 0.28.0 documentation »
+
NovelAI API 0.28.1 documentation »
Module code »
tests.api.test_decrypt_encrypt_integrity_check
diff --git a/_modules/tests/api/test_textgen_presets.html b/_modules/tests/api/test_textgen_presets.html
index 5904790..2db5a9d 100644
--- a/_modules/tests/api/test_textgen_presets.html
+++ b/_modules/tests/api/test_textgen_presets.html
@@ -5,7 +5,7 @@
-
tests.api.test_textgen_presets — NovelAI API 0.28.0 documentation
+
tests.api.test_textgen_presets — NovelAI API 0.28.1 documentation
@@ -43,7 +43,7 @@
Navigation
modules |
-
NovelAI API 0.28.0 documentation »
+
NovelAI API 0.28.1 documentation »
Module code »
tests.api.test_textgen_presets
@@ -163,7 +163,7 @@
Navigation
modules |
-
NovelAI API 0.28.0 documentation »
+
NovelAI API 0.28.1 documentation »
Module code »
tests.api.test_textgen_presets
diff --git a/_static/documentation_options.js b/_static/documentation_options.js
index afb5c56..02973f6 100644
--- a/_static/documentation_options.js
+++ b/_static/documentation_options.js
@@ -1,6 +1,6 @@
var DOCUMENTATION_OPTIONS = {
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
- VERSION: '0.28.0',
+ VERSION: '0.28.1',
LANGUAGE: 'en',
COLLAPSE_INDEX: false,
BUILDER: 'html',
diff --git a/example/example.boilerplate.html b/example/example.boilerplate.html
index 0f81af3..268fe1f 100644
--- a/example/example.boilerplate.html
+++ b/example/example.boilerplate.html
@@ -6,7 +6,7 @@
-
boilerplate — NovelAI API 0.28.0 documentation
+
boilerplate — NovelAI API 0.28.1 documentation
@@ -52,7 +52,7 @@
Navigation
previous |
-
NovelAI API 0.28.0 documentation »
+
NovelAI API 0.28.1 documentation »
example directory »
boilerplate
@@ -198,7 +198,7 @@
Navigation
previous |
-
NovelAI API 0.28.0 documentation »
+
NovelAI API 0.28.1 documentation »
example directory »
boilerplate
diff --git a/example/example.html b/example/example.html
index 3f57f99..5f42b1c 100644
--- a/example/example.html
+++ b/example/example.html
@@ -6,7 +6,7 @@
-
example directory — NovelAI API 0.28.0 documentation
+
example directory — NovelAI API 0.28.1 documentation
@@ -52,7 +52,7 @@
Navigation
previous |
-
NovelAI API 0.28.0 documentation »
+
NovelAI API 0.28.1 documentation »
example directory
@@ -284,7 +284,7 @@