Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546# import src.id as id
# a = id.TID("2zzzzzzzzzzzz")# print(repr(a), a, a.timestamp, a.clock_identifier)
# print(repr(id.DID("did:web:::::jojojux.de")))
# com_bsky = id.NSIDGlob("com.bsky.*")# com_bsky_feed = id.NSID("com.bsky.feed")# print(com_bsky.matches(com_bsky_feed))
import base64from src.lexicon import lexiconfrom src.lexicon.lexicon import LQuery
lex = lexicon( { "lexicon": 1, "id": "com.example.getProfile", "defs": { "main": { "type": "query", "parameters": { "type": "params", "required": ["user"], "properties": {"user": {"type": "string"}}, }, "output": { "encoding": "application/json", "schema": { "type": "object", "required": ["did", "name"], "properties": { "did": {"type": "string"}, "name": {"type": "string"}, "displayName": {"type": "string", "maxLength": 64}, "description": {"type": "string", "maxLength": 256}, }, }, }, } }, })