Linted code
Browse files- app.py +2 -1
- postly/clients/singleton_client.py +1 -0
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import streamlit as st
|
|
|
2 |
from postly.clients.singleton_client import SingletonPostlyClient
|
3 |
|
4 |
# Initialize the PostlyClient singleton
|
@@ -168,4 +169,4 @@ def main():
|
|
168 |
|
169 |
|
170 |
if __name__ == "__main__":
|
171 |
-
main()
|
|
|
1 |
import streamlit as st
|
2 |
+
|
3 |
from postly.clients.singleton_client import SingletonPostlyClient
|
4 |
|
5 |
# Initialize the PostlyClient singleton
|
|
|
169 |
|
170 |
|
171 |
if __name__ == "__main__":
|
172 |
+
main()
|
postly/clients/singleton_client.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
from .postly_client import PostlyClient
|
2 |
|
|
|
3 |
class SingletonPostlyClient:
|
4 |
_instance = None
|
5 |
|
|
|
1 |
from .postly_client import PostlyClient
|
2 |
|
3 |
+
|
4 |
class SingletonPostlyClient:
|
5 |
_instance = None
|
6 |
|