File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
src/query_farm_airport_hello_world_server Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,7 @@ authors = [
6
6
{
name =
" Rusty Conover" ,
email =
" [email protected] " }
7
7
]
8
8
dependencies = [
9
- " query-farm-flight-server>=0.1.5" ,
10
- " petname>=2.6" ,
9
+ " query-farm-flight-server>=0.1.5"
11
10
]
12
11
readme = " README.md"
13
12
requires-python = " >= 3.12"
Original file line number Diff line number Diff line change 1
1
import datetime
2
2
import hashlib
3
- import json
4
- import random
5
3
import re
6
- import uuid
7
4
from collections .abc import Generator , Iterator
8
5
from typing import Any , TypeVar
9
6
10
7
import click
11
- import petname
12
8
import pyarrow as pa
13
9
import pyarrow .compute as pc
14
10
import pyarrow .flight as flight
@@ -515,7 +511,7 @@ def exchange_insert(
515
511
raise flight .FlightServerError ("Inserts must be done one row at a time to the chat table." )
516
512
517
513
new_row = new_rows .to_pylist ()[0 ]
518
- new_row ["timestamp" ] = datetime .datetime .now (datetime .timezone . utc )
514
+ new_row ["timestamp" ] = datetime .datetime .now (datetime .UTC )
519
515
520
516
header_middleware = context .context .get_middleware ("headers" )
521
517
assert header_middleware
You can’t perform that action at this time.
0 commit comments