mirror of
https://github.com/diced/zipline.git
synced 2025-05-11 10:26:05 +02:00
fix: unused imports in s3
Some checks are pending
Build / build (amd64, 20.x) (push) Waiting to run
Build / build (amd64, 22.x) (push) Waiting to run
Build / build (amd64, 23.x) (push) Waiting to run
Build / build (arm64, 20.x) (push) Waiting to run
Build / build (arm64, 22.x) (push) Waiting to run
Build / build (arm64, 23.x) (push) Waiting to run
Push Docker Images / push (push) Waiting to run
Push Docker Images / amend-builds (push) Blocked by required conditions
Some checks are pending
Build / build (amd64, 20.x) (push) Waiting to run
Build / build (amd64, 22.x) (push) Waiting to run
Build / build (amd64, 23.x) (push) Waiting to run
Build / build (arm64, 20.x) (push) Waiting to run
Build / build (arm64, 22.x) (push) Waiting to run
Build / build (arm64, 23.x) (push) Waiting to run
Push Docker Images / push (push) Waiting to run
Push Docker Images / amend-builds (push) Blocked by required conditions
This commit is contained in:
parent
35c37c235f
commit
25a2a54d8a
1 changed files with 4 additions and 5 deletions
|
@ -1,20 +1,19 @@
|
||||||
import { Readable } from 'stream';
|
|
||||||
import { Datasource } from './Datasource';
|
|
||||||
import {
|
import {
|
||||||
DeleteObjectCommand,
|
DeleteObjectCommand,
|
||||||
DeleteObjectsCommand,
|
DeleteObjectsCommand,
|
||||||
GetObjectCommand,
|
GetObjectCommand,
|
||||||
ListBucketsCommand,
|
|
||||||
ListObjectsCommand,
|
ListObjectsCommand,
|
||||||
PutObjectCommand,
|
PutObjectCommand,
|
||||||
S3Client,
|
S3Client,
|
||||||
} from '@aws-sdk/client-s3';
|
} from '@aws-sdk/client-s3';
|
||||||
import Logger, { log } from '../logger';
|
|
||||||
import { ReadableStream } from 'stream/web';
|
|
||||||
import { NodeHttpHandler } from '@smithy/node-http-handler';
|
import { NodeHttpHandler } from '@smithy/node-http-handler';
|
||||||
import { Agent as HttpAgent } from 'http';
|
import { Agent as HttpAgent } from 'http';
|
||||||
import { Agent as HttpsAgent } from 'https';
|
import { Agent as HttpsAgent } from 'https';
|
||||||
|
import { Readable } from 'stream';
|
||||||
|
import { ReadableStream } from 'stream/web';
|
||||||
|
import Logger, { log } from '../logger';
|
||||||
import { randomCharacters } from '../random';
|
import { randomCharacters } from '../random';
|
||||||
|
import { Datasource } from './Datasource';
|
||||||
|
|
||||||
function isOk(code: number) {
|
function isOk(code: number) {
|
||||||
return code >= 200 && code < 300;
|
return code >= 200 && code < 300;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue