π Fix syntax error in handler
Browse files- .idea/.gitignore +10 -0
- .idea/aws.xml +11 -0
- .idea/inspectionProfiles/Project_Default.xml +242 -0
- .idea/inspectionProfiles/profiles_settings.xml +6 -0
- .idea/misc.xml +21 -0
- .idea/modules.xml +8 -0
- .idea/toms-span-marker-roberta-large-ontonotes5.iml +10 -0
- .idea/vcs.xml +6 -0
- handler.py +2 -1
.idea/.gitignore
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Default ignored files
|
2 |
+
/shelf/
|
3 |
+
/workspace.xml
|
4 |
+
# Editor-based HTTP Client requests
|
5 |
+
/httpRequests/
|
6 |
+
# Datasource local storage ignored files
|
7 |
+
/dataSources/
|
8 |
+
/dataSources.local.xml
|
9 |
+
# Zeppelin ignored files
|
10 |
+
/ZeppelinRemoteNotebooks/
|
.idea/aws.xml
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="accountSettings">
|
4 |
+
<option name="activeRegion" value="us-east-1" />
|
5 |
+
<option name="recentlyUsedRegions">
|
6 |
+
<list>
|
7 |
+
<option value="us-east-1" />
|
8 |
+
</list>
|
9 |
+
</option>
|
10 |
+
</component>
|
11 |
+
</project>
|
.idea/inspectionProfiles/Project_Default.xml
ADDED
@@ -0,0 +1,242 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<component name="InspectionProjectProfileManager">
|
2 |
+
<profile version="1.0">
|
3 |
+
<option name="myName" value="Project Default" />
|
4 |
+
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
|
5 |
+
<inspection_tool class="PyCompatibilityInspection" enabled="true" level="WARNING" enabled_by_default="true">
|
6 |
+
<option name="ourVersions">
|
7 |
+
<value>
|
8 |
+
<list size="5">
|
9 |
+
<item index="0" class="java.lang.String" itemvalue="3.9" />
|
10 |
+
<item index="1" class="java.lang.String" itemvalue="3.10" />
|
11 |
+
<item index="2" class="java.lang.String" itemvalue="3.11" />
|
12 |
+
<item index="3" class="java.lang.String" itemvalue="3.12" />
|
13 |
+
<item index="4" class="java.lang.String" itemvalue="3.13" />
|
14 |
+
</list>
|
15 |
+
</value>
|
16 |
+
</option>
|
17 |
+
</inspection_tool>
|
18 |
+
<inspection_tool class="PyInterpreterInspection" enabled="false" level="WARNING" enabled_by_default="false" />
|
19 |
+
<inspection_tool class="PyPackageRequirementsInspection" enabled="true" level="WARNING" enabled_by_default="true">
|
20 |
+
<option name="ignoredPackages">
|
21 |
+
<value>
|
22 |
+
<list size="198">
|
23 |
+
<item index="0" class="java.lang.String" itemvalue="tomlkit" />
|
24 |
+
<item index="1" class="java.lang.String" itemvalue="pygments" />
|
25 |
+
<item index="2" class="java.lang.String" itemvalue="dmailer_utils" />
|
26 |
+
<item index="3" class="java.lang.String" itemvalue="matrix_analysis_handler" />
|
27 |
+
<item index="4" class="java.lang.String" itemvalue="dm_fastapi" />
|
28 |
+
<item index="5" class="java.lang.String" itemvalue="dm_llm_utils" />
|
29 |
+
<item index="6" class="java.lang.String" itemvalue="dm_stakeholder_analytics" />
|
30 |
+
<item index="7" class="java.lang.String" itemvalue="dmx_analytics" />
|
31 |
+
<item index="8" class="java.lang.String" itemvalue="db_versioning" />
|
32 |
+
<item index="9" class="java.lang.String" itemvalue="dmx_monitoring" />
|
33 |
+
<item index="10" class="java.lang.String" itemvalue="dm_trends" />
|
34 |
+
<item index="11" class="java.lang.String" itemvalue="news_scanner" />
|
35 |
+
<item index="12" class="java.lang.String" itemvalue="report_topic_score" />
|
36 |
+
<item index="13" class="java.lang.String" itemvalue="span_marker" />
|
37 |
+
<item index="14" class="java.lang.String" itemvalue="pandas" />
|
38 |
+
<item index="15" class="java.lang.String" itemvalue="openai" />
|
39 |
+
<item index="16" class="java.lang.String" itemvalue="dmconn" />
|
40 |
+
<item index="17" class="java.lang.String" itemvalue="setuptools" />
|
41 |
+
<item index="18" class="java.lang.String" itemvalue="argilla" />
|
42 |
+
<item index="19" class="java.lang.String" itemvalue="dmaws" />
|
43 |
+
<item index="20" class="java.lang.String" itemvalue="hdbscan" />
|
44 |
+
<item index="21" class="java.lang.String" itemvalue="streamlit" />
|
45 |
+
<item index="22" class="java.lang.String" itemvalue="matplotlib" />
|
46 |
+
<item index="23" class="java.lang.String" itemvalue="bertopic" />
|
47 |
+
<item index="24" class="java.lang.String" itemvalue="psycopg2" />
|
48 |
+
<item index="25" class="java.lang.String" itemvalue="plotly" />
|
49 |
+
<item index="26" class="java.lang.String" itemvalue="tqdm" />
|
50 |
+
<item index="27" class="java.lang.String" itemvalue="pydantic" />
|
51 |
+
<item index="28" class="java.lang.String" itemvalue="typer" />
|
52 |
+
<item index="29" class="java.lang.String" itemvalue="certifi" />
|
53 |
+
<item index="30" class="java.lang.String" itemvalue="anyio" />
|
54 |
+
<item index="31" class="java.lang.String" itemvalue="typing-extensions" />
|
55 |
+
<item index="32" class="java.lang.String" itemvalue="numpy" />
|
56 |
+
<item index="33" class="java.lang.String" itemvalue="click" />
|
57 |
+
<item index="34" class="java.lang.String" itemvalue="referencing" />
|
58 |
+
<item index="35" class="java.lang.String" itemvalue="tiktoken" />
|
59 |
+
<item index="36" class="java.lang.String" itemvalue="numba" />
|
60 |
+
<item index="37" class="java.lang.String" itemvalue="protobuf" />
|
61 |
+
<item index="38" class="java.lang.String" itemvalue="wasabi" />
|
62 |
+
<item index="39" class="java.lang.String" itemvalue="confection" />
|
63 |
+
<item index="40" class="java.lang.String" itemvalue="joblib" />
|
64 |
+
<item index="41" class="java.lang.String" itemvalue="threadpoolctl" />
|
65 |
+
<item index="42" class="java.lang.String" itemvalue="scikit-learn" />
|
66 |
+
<item index="43" class="java.lang.String" itemvalue="nlp-utils" />
|
67 |
+
<item index="44" class="java.lang.String" itemvalue="marshmallow" />
|
68 |
+
<item index="45" class="java.lang.String" itemvalue="llvmlite" />
|
69 |
+
<item index="46" class="java.lang.String" itemvalue="requests" />
|
70 |
+
<item index="47" class="java.lang.String" itemvalue="apispec" />
|
71 |
+
<item index="48" class="java.lang.String" itemvalue="rpds-py" />
|
72 |
+
<item index="49" class="java.lang.String" itemvalue="elasticsearch" />
|
73 |
+
<item index="50" class="java.lang.String" itemvalue="tenacity" />
|
74 |
+
<item index="51" class="java.lang.String" itemvalue="elastic-transport" />
|
75 |
+
<item index="52" class="java.lang.String" itemvalue="urllib3" />
|
76 |
+
<item index="53" class="java.lang.String" itemvalue="jsonschema" />
|
77 |
+
<item index="54" class="java.lang.String" itemvalue="scipy" />
|
78 |
+
<item index="55" class="java.lang.String" itemvalue="pytest" />
|
79 |
+
<item index="56" class="java.lang.String" itemvalue="pynndescent" />
|
80 |
+
<item index="57" class="java.lang.String" itemvalue="cryptography" />
|
81 |
+
<item index="58" class="java.lang.String" itemvalue="jsonpointer" />
|
82 |
+
<item index="59" class="java.lang.String" itemvalue="packaging" />
|
83 |
+
<item index="60" class="java.lang.String" itemvalue="sqlalchemy" />
|
84 |
+
<item index="61" class="java.lang.String" itemvalue="bcrypt" />
|
85 |
+
<item index="62" class="java.lang.String" itemvalue="jinja2" />
|
86 |
+
<item index="63" class="java.lang.String" itemvalue="langcodes" />
|
87 |
+
<item index="64" class="java.lang.String" itemvalue="dataclasses-json" />
|
88 |
+
<item index="65" class="java.lang.String" itemvalue="regex" />
|
89 |
+
<item index="66" class="java.lang.String" itemvalue="requests-file" />
|
90 |
+
<item index="67" class="java.lang.String" itemvalue="langchain" />
|
91 |
+
<item index="68" class="java.lang.String" itemvalue="unstructured" />
|
92 |
+
<item index="69" class="java.lang.String" itemvalue="exceptiongroup" />
|
93 |
+
<item index="70" class="java.lang.String" itemvalue="fastapi" />
|
94 |
+
<item index="71" class="java.lang.String" itemvalue="starlette" />
|
95 |
+
<item index="72" class="java.lang.String" itemvalue="dmschema" />
|
96 |
+
<item index="73" class="java.lang.String" itemvalue="pypdf" />
|
97 |
+
<item index="74" class="java.lang.String" itemvalue="uvicorn" />
|
98 |
+
<item index="75" class="java.lang.String" itemvalue="dm-fastapi" />
|
99 |
+
<item index="76" class="java.lang.String" itemvalue="dm-llm-utils" />
|
100 |
+
<item index="77" class="java.lang.String" itemvalue="dmutils" />
|
101 |
+
<item index="78" class="java.lang.String" itemvalue="uv" />
|
102 |
+
<item index="79" class="java.lang.String" itemvalue="seaborn" />
|
103 |
+
<item index="80" class="java.lang.String" itemvalue="streamlit-authenticator" />
|
104 |
+
<item index="81" class="java.lang.String" itemvalue="umap-learn" />
|
105 |
+
<item index="82" class="java.lang.String" itemvalue="PyYAML" />
|
106 |
+
<item index="83" class="java.lang.String" itemvalue="ruff" />
|
107 |
+
<item index="84" class="java.lang.String" itemvalue="pillow" />
|
108 |
+
<item index="85" class="java.lang.String" itemvalue="aiobotocore" />
|
109 |
+
<item index="86" class="java.lang.String" itemvalue="nest_asyncio" />
|
110 |
+
<item index="87" class="java.lang.String" itemvalue="faiss-cpu" />
|
111 |
+
<item index="88" class="java.lang.String" itemvalue="zipp" />
|
112 |
+
<item index="89" class="java.lang.String" itemvalue="jsii" />
|
113 |
+
<item index="90" class="java.lang.String" itemvalue="cdktf" />
|
114 |
+
<item index="91" class="java.lang.String" itemvalue="dm-stakeholder-analytics" />
|
115 |
+
<item index="92" class="java.lang.String" itemvalue="XlsxWriter" />
|
116 |
+
<item index="93" class="java.lang.String" itemvalue="python-dateutil" />
|
117 |
+
<item index="94" class="java.lang.String" itemvalue="pytest-order" />
|
118 |
+
<item index="95" class="java.lang.String" itemvalue="boto3" />
|
119 |
+
<item index="96" class="java.lang.String" itemvalue="werkzeug" />
|
120 |
+
<item index="97" class="java.lang.String" itemvalue="botocore" />
|
121 |
+
<item index="98" class="java.lang.String" itemvalue="dmpipelines" />
|
122 |
+
<item index="99" class="java.lang.String" itemvalue="pip" />
|
123 |
+
<item index="100" class="java.lang.String" itemvalue="responses" />
|
124 |
+
<item index="101" class="java.lang.String" itemvalue="thinc" />
|
125 |
+
<item index="102" class="java.lang.String" itemvalue="xmltodict" />
|
126 |
+
<item index="103" class="java.lang.String" itemvalue="moto" />
|
127 |
+
<item index="104" class="java.lang.String" itemvalue="exports" />
|
128 |
+
<item index="105" class="java.lang.String" itemvalue="dm-postgres" />
|
129 |
+
<item index="106" class="java.lang.String" itemvalue="httpx" />
|
130 |
+
<item index="107" class="java.lang.String" itemvalue="tzlocal" />
|
131 |
+
<item index="108" class="java.lang.String" itemvalue="greenlet" />
|
132 |
+
<item index="109" class="java.lang.String" itemvalue="arrow" />
|
133 |
+
<item index="110" class="java.lang.String" itemvalue="cython" />
|
134 |
+
<item index="111" class="java.lang.String" itemvalue="aioboto3" />
|
135 |
+
<item index="112" class="java.lang.String" itemvalue="deprecated" />
|
136 |
+
<item index="113" class="java.lang.String" itemvalue="h11" />
|
137 |
+
<item index="114" class="java.lang.String" itemvalue="pycparser" />
|
138 |
+
<item index="115" class="java.lang.String" itemvalue="deepdiff" />
|
139 |
+
<item index="116" class="java.lang.String" itemvalue="pydantic-core" />
|
140 |
+
<item index="117" class="java.lang.String" itemvalue="frozenlist" />
|
141 |
+
<item index="118" class="java.lang.String" itemvalue="langchain-community" />
|
142 |
+
<item index="119" class="java.lang.String" itemvalue="expiringdict" />
|
143 |
+
<item index="120" class="java.lang.String" itemvalue="publication" />
|
144 |
+
<item index="121" class="java.lang.String" itemvalue="soupsieve" />
|
145 |
+
<item index="122" class="java.lang.String" itemvalue="pynacl" />
|
146 |
+
<item index="123" class="java.lang.String" itemvalue="vellum-ai" />
|
147 |
+
<item index="124" class="java.lang.String" itemvalue="beautifulsoup4" />
|
148 |
+
<item index="125" class="java.lang.String" itemvalue="dateutils" />
|
149 |
+
<item index="126" class="java.lang.String" itemvalue="requests-mock" />
|
150 |
+
<item index="127" class="java.lang.String" itemvalue="asyncpg" />
|
151 |
+
<item index="128" class="java.lang.String" itemvalue="wrapt" />
|
152 |
+
<item index="129" class="java.lang.String" itemvalue="aiohappyeyeballs" />
|
153 |
+
<item index="130" class="java.lang.String" itemvalue="authlib" />
|
154 |
+
<item index="131" class="java.lang.String" itemvalue="watchtower" />
|
155 |
+
<item index="132" class="java.lang.String" itemvalue="commentjson" />
|
156 |
+
<item index="133" class="java.lang.String" itemvalue="attrs" />
|
157 |
+
<item index="134" class="java.lang.String" itemvalue="mangum" />
|
158 |
+
<item index="135" class="java.lang.String" itemvalue="simplejson" />
|
159 |
+
<item index="136" class="java.lang.String" itemvalue="pyyaml" />
|
160 |
+
<item index="137" class="java.lang.String" itemvalue="paramiko" />
|
161 |
+
<item index="138" class="java.lang.String" itemvalue="awslambdaric" />
|
162 |
+
<item index="139" class="java.lang.String" itemvalue="slackweb" />
|
163 |
+
<item index="140" class="java.lang.String" itemvalue="charset-normalizer" />
|
164 |
+
<item index="141" class="java.lang.String" itemvalue="langsmith" />
|
165 |
+
<item index="142" class="java.lang.String" itemvalue="jsonpatch" />
|
166 |
+
<item index="143" class="java.lang.String" itemvalue="httpcore" />
|
167 |
+
<item index="144" class="java.lang.String" itemvalue="idna" />
|
168 |
+
<item index="145" class="java.lang.String" itemvalue="motor" />
|
169 |
+
<item index="146" class="java.lang.String" itemvalue="async-timeout" />
|
170 |
+
<item index="147" class="java.lang.String" itemvalue="cffi" />
|
171 |
+
<item index="148" class="java.lang.String" itemvalue="mypy-extensions" />
|
172 |
+
<item index="149" class="java.lang.String" itemvalue="constructs" />
|
173 |
+
<item index="150" class="java.lang.String" itemvalue="sniffio" />
|
174 |
+
<item index="151" class="java.lang.String" itemvalue="typeguard" />
|
175 |
+
<item index="152" class="java.lang.String" itemvalue="types-python-dateutil" />
|
176 |
+
<item index="153" class="java.lang.String" itemvalue="jsonschema-specifications" />
|
177 |
+
<item index="154" class="java.lang.String" itemvalue="lark-parser" />
|
178 |
+
<item index="155" class="java.lang.String" itemvalue="tldextract" />
|
179 |
+
<item index="156" class="java.lang.String" itemvalue="limits" />
|
180 |
+
<item index="157" class="java.lang.String" itemvalue="aioitertools" />
|
181 |
+
<item index="158" class="java.lang.String" itemvalue="annotated-types" />
|
182 |
+
<item index="159" class="java.lang.String" itemvalue="cattrs" />
|
183 |
+
<item index="160" class="java.lang.String" itemvalue="pymongo" />
|
184 |
+
<item index="161" class="java.lang.String" itemvalue="six" />
|
185 |
+
<item index="162" class="java.lang.String" itemvalue="dmmateriality" />
|
186 |
+
<item index="163" class="java.lang.String" itemvalue="ordered-set" />
|
187 |
+
<item index="164" class="java.lang.String" itemvalue="dateparser" />
|
188 |
+
<item index="165" class="java.lang.String" itemvalue="xlsxwriter" />
|
189 |
+
<item index="166" class="java.lang.String" itemvalue="jmespath" />
|
190 |
+
<item index="167" class="java.lang.String" itemvalue="importlib-resources" />
|
191 |
+
<item index="168" class="java.lang.String" itemvalue="slowapi" />
|
192 |
+
<item index="169" class="java.lang.String" itemvalue="s3transfer" />
|
193 |
+
<item index="170" class="java.lang.String" itemvalue="typing-inspect" />
|
194 |
+
<item index="171" class="java.lang.String" itemvalue="langchain-core" />
|
195 |
+
<item index="172" class="java.lang.String" itemvalue="aiohttp" />
|
196 |
+
<item index="173" class="java.lang.String" itemvalue="multidict" />
|
197 |
+
<item index="174" class="java.lang.String" itemvalue="yarl" />
|
198 |
+
<item index="175" class="java.lang.String" itemvalue="pycryptodome" />
|
199 |
+
<item index="176" class="java.lang.String" itemvalue="pytz" />
|
200 |
+
<item index="177" class="java.lang.String" itemvalue="aiosignal" />
|
201 |
+
<item index="178" class="java.lang.String" itemvalue="matrix-analysis-handler" />
|
202 |
+
<item index="179" class="java.lang.String" itemvalue="lambda-decorators" />
|
203 |
+
<item index="180" class="java.lang.String" itemvalue="email-validator" />
|
204 |
+
<item index="181" class="java.lang.String" itemvalue="watchfiles" />
|
205 |
+
<item index="182" class="java.lang.String" itemvalue="dnspython" />
|
206 |
+
<item index="183" class="java.lang.String" itemvalue="fastapi-cli" />
|
207 |
+
<item index="184" class="java.lang.String" itemvalue="python-dotenv" />
|
208 |
+
<item index="185" class="java.lang.String" itemvalue="rich" />
|
209 |
+
<item index="186" class="java.lang.String" itemvalue="python-multipart" />
|
210 |
+
<item index="187" class="java.lang.String" itemvalue="httptools" />
|
211 |
+
<item index="188" class="java.lang.String" itemvalue="markdown-it-py" />
|
212 |
+
<item index="189" class="java.lang.String" itemvalue="markupsafe" />
|
213 |
+
<item index="190" class="java.lang.String" itemvalue="mdurl" />
|
214 |
+
<item index="191" class="java.lang.String" itemvalue="uvloop" />
|
215 |
+
<item index="192" class="java.lang.String" itemvalue="websockets" />
|
216 |
+
<item index="193" class="java.lang.String" itemvalue="shellingham" />
|
217 |
+
<item index="194" class="java.lang.String" itemvalue="jiter" />
|
218 |
+
<item index="195" class="java.lang.String" itemvalue="gunicorn" />
|
219 |
+
<item index="196" class="java.lang.String" itemvalue="cloudpathlib" />
|
220 |
+
<item index="197" class="java.lang.String" itemvalue="dm_postgres" />
|
221 |
+
</list>
|
222 |
+
</value>
|
223 |
+
</option>
|
224 |
+
</inspection_tool>
|
225 |
+
<inspection_tool class="PyPep8NamingInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true">
|
226 |
+
<option name="ignoredErrors">
|
227 |
+
<list>
|
228 |
+
<option value="N806" />
|
229 |
+
<option value="N802" />
|
230 |
+
</list>
|
231 |
+
</option>
|
232 |
+
</inspection_tool>
|
233 |
+
<inspection_tool class="PyUnresolvedReferencesInspection" enabled="true" level="WARNING" enabled_by_default="true">
|
234 |
+
<option name="ignoredIdentifiers">
|
235 |
+
<list>
|
236 |
+
<option value="dm_postgres.postgresql_connection_test.pytest" />
|
237 |
+
</list>
|
238 |
+
</option>
|
239 |
+
</inspection_tool>
|
240 |
+
<inspection_tool class="TsLint" enabled="true" level="WARNING" enabled_by_default="true" />
|
241 |
+
</profile>
|
242 |
+
</component>
|
.idea/inspectionProfiles/profiles_settings.xml
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<component name="InspectionProjectProfileManager">
|
2 |
+
<settings>
|
3 |
+
<option name="USE_PROJECT_PROFILE" value="false" />
|
4 |
+
<version value="1.0" />
|
5 |
+
</settings>
|
6 |
+
</component>
|
.idea/misc.xml
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="ProjectInspectionProfilesVisibleTreeState">
|
4 |
+
<entry key="Project Default">
|
5 |
+
<profile-state>
|
6 |
+
<expanded-state>
|
7 |
+
<State />
|
8 |
+
<State>
|
9 |
+
<id>Python</id>
|
10 |
+
</State>
|
11 |
+
</expanded-state>
|
12 |
+
<selected-state>
|
13 |
+
<State>
|
14 |
+
<id>Angular</id>
|
15 |
+
</State>
|
16 |
+
</selected-state>
|
17 |
+
</profile-state>
|
18 |
+
</entry>
|
19 |
+
</component>
|
20 |
+
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.12 (toms-span-marker-roberta-large-ontonotes5)" project-jdk-type="Python SDK" />
|
21 |
+
</project>
|
.idea/modules.xml
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="ProjectModuleManager">
|
4 |
+
<modules>
|
5 |
+
<module fileurl="file://$PROJECT_DIR$/.idea/toms-span-marker-roberta-large-ontonotes5.iml" filepath="$PROJECT_DIR$/.idea/toms-span-marker-roberta-large-ontonotes5.iml" />
|
6 |
+
</modules>
|
7 |
+
</component>
|
8 |
+
</project>
|
.idea/toms-span-marker-roberta-large-ontonotes5.iml
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<module type="PYTHON_MODULE" version="4">
|
3 |
+
<component name="NewModuleRootManager">
|
4 |
+
<content url="file://$MODULE_DIR$">
|
5 |
+
<excludeFolder url="file://$MODULE_DIR$/.venv" />
|
6 |
+
</content>
|
7 |
+
<orderEntry type="inheritedJdk" />
|
8 |
+
<orderEntry type="sourceFolder" forTests="false" />
|
9 |
+
</component>
|
10 |
+
</module>
|
.idea/vcs.xml
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="VcsDirectoryMappings">
|
4 |
+
<mapping directory="" vcs="Git" />
|
5 |
+
</component>
|
6 |
+
</project>
|
handler.py
CHANGED
@@ -30,4 +30,5 @@ class EndpointHandler:
|
|
30 |
"end": entity["char_end_index"],
|
31 |
"score": entity["score"],
|
32 |
}
|
33 |
-
for entity in self.model.predict(data["inputs"])
|
|
|
|
30 |
"end": entity["char_end_index"],
|
31 |
"score": entity["score"],
|
32 |
}
|
33 |
+
for entity in self.model.predict(data["inputs"])
|
34 |
+
]
|