- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for 9000 (0.15 sec)
-
docs/select/select.py
#!/usr/bin/env/env python3 import boto3 s3 = boto3.client('s3', endpoint_url='http://localhost:9000', aws_access_key_id='minio', aws_secret_access_key='minio123', region_name='us-east-1') r = s3.select_object_content( Bucket='mycsvbucket', Key='sampledata/TotalPopulation.csv.gz', ExpressionType='SQL',
Python - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Sat Aug 18 00:11:39 GMT 2018 - 1K bytes - Viewed (0) -
docs/extensions/s3zip/examples/boto3/main.py
#!/usr/bin/env/python import boto3 from botocore.client import Config s3 = boto3.client('s3', endpoint_url='http://localhost:9000', aws_access_key_id='YOUR-ACCESSKEYID', aws_secret_access_key='YOUR-SECRETACCESSKEY', config=Config(signature_version='s3v4'), region_name='us-east-1') def _add_header(request, **kwargs): request.headers.add_header('x-minio-extract', 'true')
Python - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Wed Aug 04 21:15:45 GMT 2021 - 771 bytes - Viewed (0) -
docs/sts/client_grants/__init__.py
CANONICAL_NAME = 'AssumeRoleClientGrants' def __init__(self, cid, csec, idp_ep='http://localhost:8080/auth/realms/minio/protocol/openid-connect/token', sts_ep='http://localhost:9000'): self.cid = cid self.csec = csec self.idp_ep = idp_ep self.sts_ep = sts_ep # Load CA certificates from SSL_CERT_FILE file if set
Python - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 4.6K bytes - Viewed (1) -
docs/sts/web-identity.py
# callback url specified when the application was defined callback_uri = "http://localhost:8000/oauth2/callback" # keycloak id and secret client_id = 'account' client_secret = 'daaa3008-80f0-40f7-80d7-e15167531ff0' sts_client = boto3.client( 'sts', region_name='us-east-1', use_ssl=False, endpoint_url='http://localhost:9000', ) app = Flask(__name__) @app.route('/') def homepage():
Python - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Wed Jul 28 01:37:51 GMT 2021 - 2.9K bytes - Viewed (1) -
docs/sts/client-grants.py
'0Z4VTG8uJBSekn42HE40DK9vQb4a'), ) boto3_session = Session(botocore_session=bc_session) s3 = boto3_session.resource('s3', endpoint_url='http://localhost:9000') with open('/etc/hosts', 'rb') as data: s3.meta.client.upload_fileobj(data, 'testbucket', 'hosts',
Python - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 1.2K bytes - Viewed (0) -
docs_src/debugging/tutorial001.py
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Mar 26 19:09:53 GMT 2020 - 223 bytes - Viewed (0) -
docs_src/path_params_numeric_validations/tutorial006_an.py
from typing_extensions import Annotated app = FastAPI() @app.get("/items/{item_id}") async def read_items( *, item_id: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)], q: str, size: Annotated[float, Query(gt=0, lt=10.5)], ): results = {"item_id": item_id} if q: results.update({"q": q})
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 405 bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial001.py
price: float tax: Union[float, None] = None @app.put("/items/{item_id}") async def update_item( *, item_id: int = Path(title="The ID of the item to get", ge=0, le=1000), q: Union[str, None] = None, item: Union[Item, None] = None, ): results = {"item_id": item_id} if q: results.update({"q": q}) if item: results.update({"item": item})
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri May 13 23:38:22 GMT 2022 - 596 bytes - Viewed (0) -
scripts/playwright/separate_openapi_schemas/image03.py
def run(playwright: Playwright) -> None: browser = playwright.chromium.launch(headless=False) context = browser.new_context(viewport={"width": 960, "height": 1080}) page = context.new_page() page.goto("http://localhost:8000/docs") page.get_by_text("GET/items/Read Items").click() page.get_by_role("tab", name="Schema").click() page.get_by_label("Schema").get_by_role("button", name="Expand all").click() page.screenshot(
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Aug 25 19:10:22 GMT 2023 - 892 bytes - Viewed (0) -
docs_src/websockets/tutorial003.py
<ul id='messages'> </ul> <script> var client_id = Date.now() document.querySelector("#ws-id").textContent = client_id; var ws = new WebSocket(`ws://localhost:8000/ws/${client_id}`); ws.onmessage = function(event) { var messages = document.getElementById('messages') var message = document.createElement('li')
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sun Aug 09 13:52:19 GMT 2020 - 2.5K bytes - Viewed (0)