gibson-cli 0.3.1__py3-none-any.whl → 0.3.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- gibson/services/auth/Server.py +5 -9
- {gibson_cli-0.3.1.dist-info → gibson_cli-0.3.2.dist-info}/METADATA +1 -1
- {gibson_cli-0.3.1.dist-info → gibson_cli-0.3.2.dist-info}/RECORD +6 -6
- {gibson_cli-0.3.1.dist-info → gibson_cli-0.3.2.dist-info}/WHEEL +0 -0
- {gibson_cli-0.3.1.dist-info → gibson_cli-0.3.2.dist-info}/entry_points.txt +0 -0
- {gibson_cli-0.3.1.dist-info → gibson_cli-0.3.2.dist-info}/top_level.txt +0 -0
gibson/services/auth/Server.py
CHANGED
@@ -1,9 +1,8 @@
|
|
1
|
-
import webbrowser
|
2
1
|
import time
|
3
|
-
|
2
|
+
import webbrowser
|
3
|
+
from http.server import BaseHTTPRequestHandler, HTTPServer
|
4
4
|
from threading import Thread
|
5
|
-
from
|
6
|
-
from urllib.parse import urlparse, parse_qs
|
5
|
+
from urllib.parse import parse_qs, urlparse
|
7
6
|
|
8
7
|
|
9
8
|
# HTTP handler for processing the token sent from the web browser
|
@@ -38,11 +37,8 @@ class Server(HTTPServer):
|
|
38
37
|
thread = None
|
39
38
|
|
40
39
|
def __init__(self, app_domain: str):
|
41
|
-
|
42
|
-
|
43
|
-
self.port = sock.getsockname()[1]
|
44
|
-
super().__init__(("localhost", self.port), Handler)
|
45
|
-
|
40
|
+
super().__init__(("localhost", 0), Handler)
|
41
|
+
self.port = self.server_address[1]
|
46
42
|
self.app_domain = app_domain
|
47
43
|
|
48
44
|
def get_tokens(self):
|
@@ -79,7 +79,7 @@ gibson/display/tests/test_display_WorkspaceFooter.py,sha256=96syJutXZWbGOLiAS5Sk
|
|
79
79
|
gibson/display/tests/test_display_WorkspaceHeader.py,sha256=9FuNLOkCAyFSDaonZbLQhLJSizc7bI2HAz3z1ifJlYs,316
|
80
80
|
gibson/lang/Python.py,sha256=WNbCTFhDh9qXVbeySyfaP-6m-c0wllSCZw8A-r_Z0Oo,1764
|
81
81
|
gibson/lang/tests/test_lang_Python.py,sha256=YpdqYOGAssg-jP9GuzfoU4Y4L7Boj0vAUAJgjuZvedo,1862
|
82
|
-
gibson/services/auth/Server.py,sha256=
|
82
|
+
gibson/services/auth/Server.py,sha256=2NDSmHbjkVsnJwl6IctNVMCL6pjNtfeqvxrJN-HGaxM,1868
|
83
83
|
gibson/services/code/context/schema/DataDictionary.py,sha256=zWLzxOzW8iMHxfXPEwnnbruEAtFa8j1UpghNd4AHzfA,369
|
84
84
|
gibson/services/code/context/schema/EntityKeys.py,sha256=rmCABPloMckvzfq9Gwx6DRP-RdmEwXarkpMR4boIQwQ,1569
|
85
85
|
gibson/services/code/context/schema/Manager.py,sha256=I_xcPrcE2nFJmBEXcIoJQ9lxKfWNQYHOEZNP0i9aYuY,906
|
@@ -104,8 +104,8 @@ gibson/structure/tests/test_Entity.py,sha256=Gl9f1NcEKdpWCx4W3takFFzp18mLhCYWKrd
|
|
104
104
|
gibson/tests/test_Env.py,sha256=DPWmP0-aEelducq9bAwv7rKoY2NjWXUeCrzfJDQkn2M,369
|
105
105
|
gibson/tests/test_Memory.py,sha256=YP7owToABAk_-s7fD5UG0HTc4lamDjdA39JUlLnk3Fg,2574
|
106
106
|
gibson/tests/test_utils.py,sha256=r_y-EG05YTCNtL8MWiAK1KmPsmeoMgypKsQC_lVgOtM,559
|
107
|
-
gibson_cli-0.3.
|
108
|
-
gibson_cli-0.3.
|
109
|
-
gibson_cli-0.3.
|
110
|
-
gibson_cli-0.3.
|
111
|
-
gibson_cli-0.3.
|
107
|
+
gibson_cli-0.3.2.dist-info/METADATA,sha256=VykDA5V2ARJhgQj7URmP7ihsYQe_5RfNvjuA9o-Npws,11505
|
108
|
+
gibson_cli-0.3.2.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
|
109
|
+
gibson_cli-0.3.2.dist-info/entry_points.txt,sha256=j5VUvq3AzL21xPvVC24zMoXFt-I5lUWulr66nL3OAPM,50
|
110
|
+
gibson_cli-0.3.2.dist-info/top_level.txt,sha256=RFaUY7VXGiqkMwo1Rj7pM4kGvxkhhnfo-2LmPpuL_fs,11
|
111
|
+
gibson_cli-0.3.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|