Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: The session is unavailable because no secret key was set. Set the secret_key on the application to something unique and secret. #182

Closed
jeff13401769 opened this issue Jul 17, 2023 · 3 comments

Comments

@jeff13401769
Copy link

jeff13401769 commented Jul 17, 2023

import os
from flask import Flask, render_template, request, redirect, jsonify, redirect, url_for, session
from flask_session import Session
from flask_cors import *
from flask_redis import FlaskRedis
import requests
import asyncio
from datetime import timedelta
import random

from pymongo import MongoClient
import pymongo
import certifi
from utility.config import config
from cogs.function_in import function_in
import json

app = Flask(__name__, static_folder='templates', static_url_path='/static')
secret_key = os.urandom(24)
app.config['SESSION_TYPE'] = 'REDIS'
app.config['SESSION_USE_SIGNER'] = True
app.config['SECRET_KEY'] = secret_key
app.config['SESSION_PERMANENT'] = True
app.config['PERMANENT_SESSION_LIFETIME'] = 1800
app.config['REDIS_URL'] = os.environ.get("REDIS_TLS_URL")
app.config['REDIS_PASSWORD'] = os.environ.get("REDIS_PASSWORD")
CORS(app, supports_credentials=True)
Session(app)
redis = FlaskRedis(app)

...

if __name__ == '__main__':
    app.run(debug=True, host='0.0.0.0', port=int(os.environ.get('PORT', 5000)))

Flask==2.3.2
Flask-Cors==4.0.0
Flask-Session==0.5.0
flask-redis==0.4.0
run on heroku and have use Heroku Data for Redis®*

here is my code, I have set secret key, but app reply me [RuntimeError: The session is unavailable because no secret key was set. Set the secret_key on the application to something unique and secret]

@Lxstr
Copy link
Contributor

Lxstr commented Feb 25, 2024

Did you resolve this? Your code seems to work fine for me. A few newer versions are released since this

@Lxstr
Copy link
Contributor

Lxstr commented Feb 25, 2024

Ah yes, you have set SESSION_REDIS = "REDIS" it should be "redis". Also the error message is misleading, because previously Flask-Session used a nullsession like Flask, and that was causing an error directly on flask that is completely misleading. This is now fixed from 0.7.0, with specific error.

@Lxstr Lxstr closed this as completed Feb 25, 2024
@Lxstr
Copy link
Contributor

Lxstr commented Feb 25, 2024

In fact I might pass a .lower filter on the string to avoid this

Lxstr added a commit that referenced this issue Mar 1, 2024
DanielTsiang pushed a commit to DanielTsiang/traffic-sign-classifier that referenced this issue May 1, 2024
…in /services/flask (#75)

Updates the requirements on
[flask-session](https://github.com/pallets-eco/flask-session) to permit
the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pallets-eco/flask-session/releases">flask-session's
releases</a>.</em></p>
<blockquote>
<h2>0.8.0</h2>
<p>Add DynamodDB backend and other minor fixes.</p>
<p>Full release notes: <a
href="https://flask-session.readthedocs.io/en/latest/changes.html#id1">https://flask-session.readthedocs.io/en/latest/changes.html#id1</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pallets-eco/flask-session/blob/development/CHANGES.rst">flask-session's
changelog</a>.</em></p>
<blockquote>
<h2>0.8.0 - 2024-03-26</h2>
<p>Added</p>
<pre><code>- Add DynamoDB session interface
(`[#214](pallets-eco/flask-session#214)
&lt;https://github.com/pallets-eco/flask-session/pull/214&gt;`_).
- Add ability to install client libraries for backends using optional
dependencies (extras)
(`[#228](pallets-eco/flask-session#228)
&lt;https://github.com/pallets-eco/flask-session/pull/228&gt;`_).
<p>Fixed</p>
<pre><code>- Include prematurely removed ``cachelib`` dependency. Will
be removed in 1.0.0 to be an optional dependency
(`[#223](pallets-eco/flask-session#223)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/223&amp;gt;`_).


0.7.0 - 2024-03-18
------------------

Changed
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Access session interfaces via subfolder, for example
&lt;code&gt;flask_session.redis.RedisSessionInterface&lt;/code&gt;
(&lt;code&gt;2bc7df
&amp;lt;pallets-eco/flask-session@2bc7df1be7b8929e55cb25f13845caf0503630d8&amp;gt;&lt;/code&gt;_).&lt;/li&gt;
&lt;li&gt;Deprecate &lt;code&gt;pickle&lt;/code&gt; in favor of
&lt;code&gt;msgspec&lt;/code&gt;, which is configured with
&lt;code&gt;SESSION_SERIALIZATION_FORMAT&lt;/code&gt; to choose between
&lt;code&gt;'json'&lt;/code&gt; and &lt;code&gt;'msgpack'&lt;/code&gt;.
All sessions will convert to msgspec upon first interaction with 0.7.0.
Pickle is still available to read existing sessions, but will be removed
in 1.0.0. (&lt;code&gt;c7f8ce
&amp;lt;pallets-eco/flask-session@c7f8ced0e1532dea87850d34b3328a3fcb769988&amp;gt;&lt;/code&gt;&lt;em&gt;,
&lt;code&gt;c7f8ce
&amp;lt;pallets-eco/flask-session@c7f8ced0e1532dea87850d34b3328a3fcb769988&amp;gt;&lt;/code&gt;&lt;/em&gt;)&lt;/li&gt;
&lt;li&gt;Deprecate &lt;code&gt;SESSION_USE_SIGNER&lt;/code&gt;
(&lt;code&gt;a5dba7
&amp;lt;pallets-eco/flask-session@a5dba7022f806c8fb4412d0428b69dd4a077e4a7&amp;gt;&lt;/code&gt;_).&lt;/li&gt;
&lt;li&gt;Deprecate
:class:&lt;code&gt;flask_session.filesystem.FileSystemSessionInterface&lt;/code&gt;
in favor of the broader
:class:&lt;code&gt;flask_session.cachelib.CacheLibSessionInterface&lt;/code&gt;
(&lt;code&gt;2bc7df
&amp;lt;pallets-eco/flask-session@2bc7df1be7b8929e55cb25f13845caf0503630d8&amp;gt;&lt;/code&gt;_).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Added&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;- Add time-to-live expiration for MongoDB
(`9acee3
&amp;lt;https://github.com/pallets-eco/flask-session/commit/9acee3c5fb7072476f3feea923529d19d5e855c3&amp;gt;`_).
- Add retry for SQL based storage
(`[#211](pallets-eco/flask-session#211)
&amp;lt;https://github.com/pallets-eco/flask-session/pull/211&amp;gt;`_).
- Add ``flask session_cleanup`` command and alternatively,
``SESSION_CLEANUP_N_REQUESTS`` for SQLAlchemy or future non-TTL backends
(`[#211](pallets-eco/flask-session#211)
&amp;lt;https://github.com/pallets-eco/flask-session/pull/211&amp;gt;`_).
- Add type hints (`7d7d58
&amp;lt;https://github.com/pallets-eco/flask-session/commit/7d7d58ce371553da39095a421445cf639a62bd5f&amp;gt;`_).
-   Add logo and additional documentation.
- Add vary cookie header when session modified or accessed as per
flask's built-in session (`7ab698
&amp;lt;https://github.com/pallets-eco/flask-session/commit/7ab6980c8ba15912df13dd1e78242803e8104dd6&amp;gt;`_).
- Add regenerate method to session interface to mitigate fixation
(`[#27](pallets-eco/flask-session#27)
&amp;lt;https://github.com/pallets-eco/flask-session/pull/27&amp;gt;`_,
`[#39](pallets-eco/flask-session#39)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/39&amp;gt;`_)(`80df63
&amp;lt;https://github.com/pallets-eco/flask-session/commit/80df635ffd466fa7798f6031be5469b4d5dae069&amp;gt;`_).

Removed
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Remove null session in favour of relevant exception messages
(&lt;code&gt;[#107](pallets-eco/flask-session#107)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/107&amp;gt;&lt;/code&gt;&lt;em&gt;,
&lt;code&gt;[#182](pallets-eco/flask-session#182)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/182&amp;gt;&lt;/code&gt;&lt;/em&gt;)(&lt;code&gt;d7ed1c
&amp;lt;pallets-eco/flask-session@d7ed1c6e7eb3904888b72f0d6c006db1b9b60795&amp;gt;&lt;/code&gt;_).&lt;/li&gt;
&lt;li&gt;Drop support for Python 3.7 which is end-of-life and precludes
use of msgspec (&lt;code&gt;bd7e5b
&amp;lt;pallets-eco/flask-session@bd7e5b0bbfc10cdfa9c83b859593c69cc4381571&amp;gt;&lt;/code&gt;_).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Fixed&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;- Prevent session identifier reuse on storage
miss (`[#76](pallets-eco/flask-session#76)
&amp;lt;https://github.com/pallets-eco/flask-session/pull/76&amp;gt;`_).
-   Abstraction to improve consistency between backends.
- Enforce ``PERMANENT_SESSION_LIFETIME`` as expiration consistently for
all backends
(`[#81](pallets-eco/flask-session#81)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/81&amp;gt;`_)(`86895b
&amp;lt;https://github.com/pallets-eco/flask-session/commit/86895b523203ca67c9f87416bdbf028852dcb357&amp;gt;`_).
- Specifically include backend session interfaces in public API and
document usage
(`[#210](pallets-eco/flask-session#210)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/210&amp;gt;`_).
- Fix non-permanent sessions not updating expiry
(`[#221](pallets-eco/flask-session#221)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/221&amp;gt;`_).


0.6.0 - 2024-01-16
------------------

&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt; 
&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;p&gt;... (truncated)&lt;/p&gt;
&lt;/details&gt;
&lt;details&gt;
&lt;summary&gt;Commits&lt;/summary&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a
href=&quot;pallets-eco/flask-session@65c05eae0e6d679047394b39a8d6e2bce8195ac3&quot;&gt;&lt;code&gt;65c05ea&lt;/code&gt;&lt;/a&gt;
Prep release&lt;/li&gt;
&lt;li&gt;&lt;a
href=&quot;pallets-eco/flask-session@475cc038376d4d5c2949edf7751a61ed64b7f33c&quot;&gt;&lt;code&gt;475cc03&lt;/code&gt;&lt;/a&gt;
Merge branch 'erik' into development&lt;/li&gt;
&lt;li&gt;&lt;a
href=&quot;pallets-eco/flask-session@1af5cb223bcb4bb556cf8b49e803700ac332ab89&quot;&gt;&lt;code&gt;1af5cb2&lt;/code&gt;&lt;/a&gt;
Remind the correct PR branch&lt;/li&gt;
&lt;li&gt;&lt;a
href=&quot;pallets-eco/flask-session@b7a219bcac97e74276d8e419e6174aea2c4ffdad&quot;&gt;&lt;code&gt;b7a219b&lt;/code&gt;&lt;/a&gt;
Reduce documentation and remove filesystem extra&lt;/li&gt;
&lt;li&gt;&lt;a
href=&quot;pallets-eco/flask-session@6c9a698b61ead380988ba4b69b0f161de47e1886&quot;&gt;&lt;code&gt;6c9a698&lt;/code&gt;&lt;/a&gt;
Fix docs announcement overflow&lt;/li&gt;
&lt;li&gt;&lt;a
href=&quot;pallets-eco/flask-session@f8f5ad15f787c5b30b663f84883ad2c8108b8314&quot;&gt;&lt;code&gt;f8f5ad1&lt;/code&gt;&lt;/a&gt;
implemented DynamoDBSessionInterface and tests. (&lt;a
href=&quot;https://github.com/pallets-eco/flask-session/issues/214&quot;&gt;#214&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;a
href=&quot;pallets-eco/flask-session@5a3413b9b1d67a4116404f23022b58326a60fbdf&quot;&gt;&lt;code&gt;5a3413b&lt;/code&gt;&lt;/a&gt;
Add changelog and contributor&lt;/li&gt;
&lt;li&gt;&lt;a
href=&quot;pallets-eco/flask-session@17369528b45d9b5a59003ec006ede35ced40f694&quot;&gt;&lt;code&gt;1736952&lt;/code&gt;&lt;/a&gt;
Fix docs requirements&lt;/li&gt;
&lt;li&gt;&lt;a
href=&quot;pallets-eco/flask-session@a92914ed1196acc2eab4d562996ac944413fb19c&quot;&gt;&lt;code&gt;a92914e&lt;/code&gt;&lt;/a&gt;
Add docs&lt;/li&gt;
&lt;li&gt;&lt;a
href=&quot;pallets-eco/flask-session@ab9a756a18de87033cf6d3b2d86c6dc46e006800&quot;&gt;&lt;code&gt;ab9a756&lt;/code&gt;&lt;/a&gt;
Tidy up dynamo db, add docker and requirements&lt;/li&gt;
&lt;li&gt;Additional commits viewable in &lt;a
href=&quot;pallets-eco/flask-session@0.6.1rc1...0.8.0&quot;&gt;compare
view&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/details&gt;

&lt;br /&gt;
</code></pre>


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
DanielTsiang pushed a commit to DanielTsiang/traffic-sign-classifier that referenced this issue May 1, 2024
…in /services/flask (#75)

Updates the requirements on
[flask-session](https://github.com/pallets-eco/flask-session) to permit
the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pallets-eco/flask-session/releases">flask-session's
releases</a>.</em></p>
<blockquote>
<h2>0.8.0</h2>
<p>Add DynamodDB backend and other minor fixes.</p>
<p>Full release notes: <a
href="https://flask-session.readthedocs.io/en/latest/changes.html#id1">https://flask-session.readthedocs.io/en/latest/changes.html#id1</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pallets-eco/flask-session/blob/development/CHANGES.rst">flask-session's
changelog</a>.</em></p>
<blockquote>
<h2>0.8.0 - 2024-03-26</h2>
<p>Added</p>
<pre><code>- Add DynamoDB session interface
(`[#214](pallets-eco/flask-session#214)
&lt;https://github.com/pallets-eco/flask-session/pull/214&gt;`_).
- Add ability to install client libraries for backends using optional
dependencies (extras)
(`[#228](pallets-eco/flask-session#228)
&lt;https://github.com/pallets-eco/flask-session/pull/228&gt;`_).
<p>Fixed</p>
<pre><code>- Include prematurely removed ``cachelib`` dependency. Will
be removed in 1.0.0 to be an optional dependency
(`[#223](pallets-eco/flask-session#223)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/223&amp;gt;`_).


0.7.0 - 2024-03-18
------------------

Changed
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Access session interfaces via subfolder, for example
&lt;code&gt;flask_session.redis.RedisSessionInterface&lt;/code&gt;
(&lt;code&gt;2bc7df
&amp;lt;pallets-eco/flask-session@2bc7df1be7b8929e55cb25f13845caf0503630d8&amp;gt;&lt;/code&gt;_).&lt;/li&gt;
&lt;li&gt;Deprecate &lt;code&gt;pickle&lt;/code&gt; in favor of
&lt;code&gt;msgspec&lt;/code&gt;, which is configured with
&lt;code&gt;SESSION_SERIALIZATION_FORMAT&lt;/code&gt; to choose between
&lt;code&gt;'json'&lt;/code&gt; and &lt;code&gt;'msgpack'&lt;/code&gt;.
All sessions will convert to msgspec upon first interaction with 0.7.0.
Pickle is still available to read existing sessions, but will be removed
in 1.0.0. (&lt;code&gt;c7f8ce
&amp;lt;pallets-eco/flask-session@c7f8ced0e1532dea87850d34b3328a3fcb769988&amp;gt;&lt;/code&gt;&lt;em&gt;,
&lt;code&gt;c7f8ce
&amp;lt;pallets-eco/flask-session@c7f8ced0e1532dea87850d34b3328a3fcb769988&amp;gt;&lt;/code&gt;&lt;/em&gt;)&lt;/li&gt;
&lt;li&gt;Deprecate &lt;code&gt;SESSION_USE_SIGNER&lt;/code&gt;
(&lt;code&gt;a5dba7
&amp;lt;pallets-eco/flask-session@a5dba7022f806c8fb4412d0428b69dd4a077e4a7&amp;gt;&lt;/code&gt;_).&lt;/li&gt;
&lt;li&gt;Deprecate
:class:&lt;code&gt;flask_session.filesystem.FileSystemSessionInterface&lt;/code&gt;
in favor of the broader
:class:&lt;code&gt;flask_session.cachelib.CacheLibSessionInterface&lt;/code&gt;
(&lt;code&gt;2bc7df
&amp;lt;pallets-eco/flask-session@2bc7df1be7b8929e55cb25f13845caf0503630d8&amp;gt;&lt;/code&gt;_).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Added&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;- Add time-to-live expiration for MongoDB
(`9acee3
&amp;lt;https://github.com/pallets-eco/flask-session/commit/9acee3c5fb7072476f3feea923529d19d5e855c3&amp;gt;`_).
- Add retry for SQL based storage
(`[#211](pallets-eco/flask-session#211)
&amp;lt;https://github.com/pallets-eco/flask-session/pull/211&amp;gt;`_).
- Add ``flask session_cleanup`` command and alternatively,
``SESSION_CLEANUP_N_REQUESTS`` for SQLAlchemy or future non-TTL backends
(`[#211](pallets-eco/flask-session#211)
&amp;lt;https://github.com/pallets-eco/flask-session/pull/211&amp;gt;`_).
- Add type hints (`7d7d58
&amp;lt;https://github.com/pallets-eco/flask-session/commit/7d7d58ce371553da39095a421445cf639a62bd5f&amp;gt;`_).
-   Add logo and additional documentation.
- Add vary cookie header when session modified or accessed as per
flask's built-in session (`7ab698
&amp;lt;https://github.com/pallets-eco/flask-session/commit/7ab6980c8ba15912df13dd1e78242803e8104dd6&amp;gt;`_).
- Add regenerate method to session interface to mitigate fixation
(`[#27](pallets-eco/flask-session#27)
&amp;lt;https://github.com/pallets-eco/flask-session/pull/27&amp;gt;`_,
`[#39](pallets-eco/flask-session#39)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/39&amp;gt;`_)(`80df63
&amp;lt;https://github.com/pallets-eco/flask-session/commit/80df635ffd466fa7798f6031be5469b4d5dae069&amp;gt;`_).

Removed
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Remove null session in favour of relevant exception messages
(&lt;code&gt;[#107](pallets-eco/flask-session#107)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/107&amp;gt;&lt;/code&gt;&lt;em&gt;,
&lt;code&gt;[#182](pallets-eco/flask-session#182)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/182&amp;gt;&lt;/code&gt;&lt;/em&gt;)(&lt;code&gt;d7ed1c
&amp;lt;pallets-eco/flask-session@d7ed1c6e7eb3904888b72f0d6c006db1b9b60795&amp;gt;&lt;/code&gt;_).&lt;/li&gt;
&lt;li&gt;Drop support for Python 3.7 which is end-of-life and precludes
use of msgspec (&lt;code&gt;bd7e5b
&amp;lt;pallets-eco/flask-session@bd7e5b0bbfc10cdfa9c83b859593c69cc4381571&amp;gt;&lt;/code&gt;_).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Fixed&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;- Prevent session identifier reuse on storage
miss (`[#76](pallets-eco/flask-session#76)
&amp;lt;https://github.com/pallets-eco/flask-session/pull/76&amp;gt;`_).
-   Abstraction to improve consistency between backends.
- Enforce ``PERMANENT_SESSION_LIFETIME`` as expiration consistently for
all backends
(`[#81](pallets-eco/flask-session#81)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/81&amp;gt;`_)(`86895b
&amp;lt;https://github.com/pallets-eco/flask-session/commit/86895b523203ca67c9f87416bdbf028852dcb357&amp;gt;`_).
- Specifically include backend session interfaces in public API and
document usage
(`[#210](pallets-eco/flask-session#210)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/210&amp;gt;`_).
- Fix non-permanent sessions not updating expiry
(`[#221](pallets-eco/flask-session#221)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/221&amp;gt;`_).


0.6.0 - 2024-01-16
------------------

&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt; 
&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;p&gt;... (truncated)&lt;/p&gt;
&lt;/details&gt;
&lt;details&gt;
&lt;summary&gt;Commits&lt;/summary&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a
href=&quot;pallets-eco/flask-session@65c05eae0e6d679047394b39a8d6e2bce8195ac3&quot;&gt;&lt;code&gt;65c05ea&lt;/code&gt;&lt;/a&gt;
Prep release&lt;/li&gt;
&lt;li&gt;&lt;a
href=&quot;pallets-eco/flask-session@475cc038376d4d5c2949edf7751a61ed64b7f33c&quot;&gt;&lt;code&gt;475cc03&lt;/code&gt;&lt;/a&gt;
Merge branch 'erik' into development&lt;/li&gt;
&lt;li&gt;&lt;a
href=&quot;pallets-eco/flask-session@1af5cb223bcb4bb556cf8b49e803700ac332ab89&quot;&gt;&lt;code&gt;1af5cb2&lt;/code&gt;&lt;/a&gt;
Remind the correct PR branch&lt;/li&gt;
&lt;li&gt;&lt;a
href=&quot;pallets-eco/flask-session@b7a219bcac97e74276d8e419e6174aea2c4ffdad&quot;&gt;&lt;code&gt;b7a219b&lt;/code&gt;&lt;/a&gt;
Reduce documentation and remove filesystem extra&lt;/li&gt;
&lt;li&gt;&lt;a
href=&quot;pallets-eco/flask-session@6c9a698b61ead380988ba4b69b0f161de47e1886&quot;&gt;&lt;code&gt;6c9a698&lt;/code&gt;&lt;/a&gt;
Fix docs announcement overflow&lt;/li&gt;
&lt;li&gt;&lt;a
href=&quot;pallets-eco/flask-session@f8f5ad15f787c5b30b663f84883ad2c8108b8314&quot;&gt;&lt;code&gt;f8f5ad1&lt;/code&gt;&lt;/a&gt;
implemented DynamoDBSessionInterface and tests. (&lt;a
href=&quot;https://github.com/pallets-eco/flask-session/issues/214&quot;&gt;#214&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;a
href=&quot;pallets-eco/flask-session@5a3413b9b1d67a4116404f23022b58326a60fbdf&quot;&gt;&lt;code&gt;5a3413b&lt;/code&gt;&lt;/a&gt;
Add changelog and contributor&lt;/li&gt;
&lt;li&gt;&lt;a
href=&quot;pallets-eco/flask-session@17369528b45d9b5a59003ec006ede35ced40f694&quot;&gt;&lt;code&gt;1736952&lt;/code&gt;&lt;/a&gt;
Fix docs requirements&lt;/li&gt;
&lt;li&gt;&lt;a
href=&quot;pallets-eco/flask-session@a92914ed1196acc2eab4d562996ac944413fb19c&quot;&gt;&lt;code&gt;a92914e&lt;/code&gt;&lt;/a&gt;
Add docs&lt;/li&gt;
&lt;li&gt;&lt;a
href=&quot;pallets-eco/flask-session@ab9a756a18de87033cf6d3b2d86c6dc46e006800&quot;&gt;&lt;code&gt;ab9a756&lt;/code&gt;&lt;/a&gt;
Tidy up dynamo db, add docker and requirements&lt;/li&gt;
&lt;li&gt;Additional commits viewable in &lt;a
href=&quot;pallets-eco/flask-session@0.6.1rc1...0.8.0&quot;&gt;compare
view&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/details&gt;

&lt;br /&gt;
</code></pre>


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants