Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for LexRef as a Schema type of inputs #412

Merged
merged 3 commits into from
Oct 17, 2024

Conversation

MarshalX
Copy link
Owner

@MarshalX MarshalX commented Oct 14, 2024

the need for implementation happened because of unusual lexicon added here bluesky-social/atproto#2636

useful code snippet for the future:

            if model_type is ModelType.DATA:
                lines.append(f'{INPUT_MODEL} = {model_path}')
            elif model_type is ModelType.RESPONSE:
                lines.append(f'{OUTPUT_MODEL} = {model_path}')
            else:
                raise ValueError('Wrong type or not implemented')

@MarshalX MarshalX merged commit 3e0a657 into main Oct 17, 2024
22 checks passed
@MarshalX MarshalX deleted the add-lex-ref-as-schema-support branch October 17, 2024 10:16
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.

1 participant