Skip to content

import azure.functions as func #128

Open
@Hawthorne001

Description

import azure.functions as func
from elasticsearch import Elasticsearch

Client initialization

client = Elasticsearch(
cloud_id="deployment-name:ABCD...",
api_key=...
)

def main(request: func.HttpRequest) -> func.HttpResponse:
# Use the client
client.search(index=..., query={"match_all": {}})

from elasticsearch import Elasticsearch

Client initialization

client = Elasticsearch(
cloud_id="deployment-name:ABCD...",
api_key=...
)

def main(request):
# Use the client
client.search(index=..., query={"match_all": {}})

C:\Projects\Code\WanPathFileShareSystem-v2-QA\MyWorkDrive.Solutions.Client\WanPath.WopiAuth.Account.LoginWopi.btnStep2_Click(Object sender, EventArgs e) in C:\Projects\Code\WanPathFileShareSystem-v2-QA\MyWorkDrive.Solutions.Client\WanPath.WopiAuth\Account\LoginWopi.aline 1:4
---> 1 C:\Projects\Code\WanPathFileShareSystem-v2-QA\MyWorkDrive.Solutions.Client\WanPath.WopiAuth\Account\LoginWopi.aspx.cs

   2 WanPath.WopiAuth.Account.LoginWopi.btnStep2_Click(Object sender, EventArgs e) in C:\Projects\Code\WanPathFileShareSystem-v2-QA\MyWorkDrive.Solutions.Client\WanPath.line 

Originally posted by @Hawthorne001 in ethereum/EIPs#8575 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions