Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Outline

Remember to shutdown a GitHub Codespace when it is not in use!

Dev Containers Quick Start

The default location for usage snippets is the samples directory.

Running a Usage Sample

A sample usage example has been provided in a root.py file. As you work with the SDK, it's expected that you will modify these samples to fit your needs. To execute this particular snippet, use the command below.

python root.py

Generating Additional Usage Samples

The speakeasy CLI allows you to generate more usage snippets. Here's how:

  • To generate a sample for a specific operation by providing an operation ID, use:
speakeasy generate usage -s registry.speakeasyapi.dev/glean-el2/sdk/glean-api-specs -l python -i {INPUT_OPERATION_ID} -o ./samples
  • To generate samples for an entire namespace (like a tag or group name), use:
speakeasy generate usage -s registry.speakeasyapi.dev/glean-el2/sdk/glean-api-specs -l python -n {INPUT_TAG_NAME} -o ./samples
Morty Proxy This is a proxified and sanitized view of the page, visit original site.