Skip to content

Commit 6a0a3d6

Browse files
committed
Cleanup
1 parent 816606f commit 6a0a3d6

File tree

3 files changed

+0
-13
lines changed

3 files changed

+0
-13
lines changed

src/httpserver_extension.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,6 @@ struct HttpServerState {
3838

3939
static HttpServerState global_state;
4040

41-
std::string GetColumnTypeName(MaterializedQueryResult &result, idx_t column) {
42-
if (result.RowCount() == 0) {
43-
return "String";
44-
}
45-
return result.types[column].ToString();
46-
}
47-
4841
// New: Base64 decoding function
4942
std::string base64_decode(const std::string &in) {
5043
std::string out;

test_http_api/client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
class ResponseFormat(Enum):
1111
ND_JSON = "JSONEachRow"
12-
JSON = "JSON"
1312
COMPACT_JSON = "JSONCompact"
1413

1514

test_http_api/conftest.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,3 @@ def http_duck_with_token() -> Iterator[Client]:
3030
yield client
3131

3232
process.kill()
33-
34-
35-
@pytest.fixture
36-
def token_client():
37-
return Client(f"http://{HOST}:{PORT}", token_auth=API_KEY)

0 commit comments

Comments
 (0)