Skip to content

Conversation

SandraRodgers
Copy link
Contributor

Proposed changes

This adds the feature extra to the metadata response. Users can use the feature like this:

options = LiveOptions(
            extra="test:one",
        )

They will see a response like this:

MetadataResponse(type='Metadata', transaction_key='deprecated', request_id='2a23a737-c6bf-4ca6-bd29-0495049015e4', sha256='455ffcc8068f5ca8248e6eb47967109deeb5ad949b60f119960cd81a1bb7d060', created='2024-01-25T20:09:06.990Z', duration=10.754625, channels=1, models=['96a295ec-6336-43d5-b1cb-1e48b5e6d9a4'], model_info={'96a295ec-6336-43d5-b1cb-1e48b5e6d9a4': ModelInfo(name='general', version='2023-02-22.3', arch='base')}, extra="{'test': 'one'}")

I tested these with the prerecorded and live examples.

Types of changes

What types of changes does your code introduce to the community Python SDK?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update or tests (if none of the other choices apply)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have read the CONTRIBUTING doc
  • I have lint'ed all of my code using repo standards
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

@davidvonthenen davidvonthenen merged commit 51ee348 into main Jan 25, 2024
@davidvonthenen davidvonthenen deleted the sr/adds-extra branch January 25, 2024 20:31
@davidvonthenen
Copy link
Contributor

woot woot!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants