Skip to content

SyncBoundThingNamespace

Class: warmhub.SyncBoundThingNamespace

SyncBoundThingNamespace(namespace: SyncThingNamespace, org_name: str, repo_name: str)

repository.thingsSyncThingNamespace with the repo bound.

get_many(wrefs: Sequence[str], version: int | Unset = UNSET, *, include_retracted: bool | Unset = UNSET, data_mode: DataMode | Unset = UNSET, chunk_size: int | Unset = UNSET, chunk_concurrency: int | Unset = UNSET, extra_headers: ExtraHeaders | Unset = UNSET, extra_query: ExtraQuery | Unset = UNSET, extra_body: ExtraBody | Unset = UNSET)

See AsyncThingBatchMixin.get_many.

head_versions(wrefs: Sequence[str], *, chunk_size: int | Unset = UNSET, chunk_concurrency: int | Unset = UNSET, extra_headers: ExtraHeaders | Unset = UNSET, extra_query: ExtraQuery | Unset = UNSET, extra_body: ExtraBody | Unset = UNSET)

See AsyncThingBatchMixin.head_versions.

head_changes(*, since_repo_seq: int, limit: int | Unset = UNSET, shape: str | Unset = UNSET, kind: ThingKind | Unset = UNSET, match: str | Unset = UNSET, data_mode: DataMode | Unset = UNSET, component_ref: str | Unset = UNSET, exclude_components: bool | Unset = UNSET, exclude_infra_shapes: bool | Unset = UNSET, where: Sequence[WherePredicate] | Unset = UNSET, extra_headers: ExtraHeaders | Unset = UNSET, extra_query: ExtraQuery | Unset = UNSET, extra_body: ExtraBody | Unset = UNSET)

See SyncThingChangesMixin.head_changes.

query_iter(*, shape: str | Unset = UNSET, about: str | Unset = UNSET, affirmed_about: str | Unset = UNSET, kind: ThingKind | Unset = UNSET, match: str | Unset = UNSET, include_retracted: bool | Unset = UNSET, resolve_collections: bool | Unset = UNSET, role: CollectionRole | Unset = UNSET, limit: int | Unset = UNSET, cursor: str | Unset = UNSET, component_ref: str | Unset = UNSET, exclude_components: bool | Unset = UNSET, exclude_infra_shapes: bool | Unset = UNSET, where: Sequence[WherePredicate] | Unset = UNSET, decode_as: type[PayloadT] | Unset = UNSET, decoder: PayloadDecoder[PayloadT] | Unset = UNSET, extra_headers: ExtraHeaders | Unset = UNSET, extra_query: ExtraQuery | Unset = UNSET, extra_body: ExtraBody | Unset = UNSET)

See AsyncThingPaginationMixin.query_iter.

query_changes(*, since_repo_seq: int, limit: int | Unset = UNSET, shape: str | Unset = UNSET, about: str | Unset = UNSET, kind: ThingKind | Unset = UNSET, match: str | Unset = UNSET, resolve_collections: bool | Unset = UNSET, role: CollectionRole | Unset = UNSET, component_ref: str | Unset = UNSET, exclude_components: bool | Unset = UNSET, exclude_infra_shapes: bool | Unset = UNSET, where: Sequence[WherePredicate] | Unset = UNSET, extra_headers: ExtraHeaders | Unset = UNSET, extra_query: ExtraQuery | Unset = UNSET, extra_body: ExtraBody | Unset = UNSET)

See SyncThingChangesMixin.query_changes.

query(*, shape: str | Unset = UNSET, about: str | Unset = UNSET, affirmed_about: str | Unset = UNSET, kind: ThingKind | Unset = UNSET, match: str | Unset = UNSET, include_retracted: bool | Unset = UNSET, resolve_collections: bool | Unset = UNSET, role: CollectionRole | Unset = UNSET, limit: int | Unset = UNSET, cursor: str | Unset = UNSET, component_ref: str | Unset = UNSET, exclude_components: bool | Unset = UNSET, exclude_infra_shapes: bool | Unset = UNSET, where: Sequence[WherePredicate] | Unset = UNSET, since_repo_seq: int | Unset = UNSET, decode_as: type[PayloadT] | Unset = UNSET, decoder: PayloadDecoder[PayloadT] | Unset = UNSET, extra_headers: ExtraHeaders | Unset = UNSET, extra_query: ExtraQuery | Unset = UNSET, extra_body: ExtraBody | Unset = UNSET)

See SyncThingFilterMixin.query.

query_all(*, max_items: int | Unset = UNSET, shape: str | Unset = UNSET, about: str | Unset = UNSET, affirmed_about: str | Unset = UNSET, kind: ThingKind | Unset = UNSET, match: str | Unset = UNSET, include_retracted: bool | Unset = UNSET, resolve_collections: bool | Unset = UNSET, role: CollectionRole | Unset = UNSET, limit: int | Unset = UNSET, cursor: str | Unset = UNSET, component_ref: str | Unset = UNSET, exclude_components: bool | Unset = UNSET, exclude_infra_shapes: bool | Unset = UNSET, where: Sequence[WherePredicate] | Unset = UNSET, decode_as: type[PayloadT] | Unset = UNSET, decoder: PayloadDecoder[PayloadT] | Unset = UNSET, extra_headers: ExtraHeaders | Unset = UNSET, extra_query: ExtraQuery | Unset = UNSET, extra_body: ExtraBody | Unset = UNSET)

See AsyncThingPaginationMixin.query_all.

search(query: str, *, shape: str | Unset = UNSET, about: str | Unset = UNSET, affirmed_about: str | Unset = UNSET, kind: ThingKind | Unset = UNSET, match: str | Unset = UNSET, include_retracted: bool | Unset = UNSET, resolve_collections: bool | Unset = UNSET, limit: int | Unset = UNSET, cursor: str | Unset = UNSET, component_ref: str | Unset = UNSET, exclude_components: bool | Unset = UNSET, exclude_infra_shapes: bool | Unset = UNSET, mode: SearchMode | Unset = UNSET, name_match: NameMatch | Unset = UNSET, decode_as: type[PayloadT] | Unset = UNSET, decoder: PayloadDecoder[PayloadT] | Unset = UNSET, extra_headers: ExtraHeaders | Unset = UNSET, extra_query: ExtraQuery | Unset = UNSET, extra_body: ExtraBody | Unset = UNSET)

See SyncThingFilterMixin.search.

head(*, shape: str | Unset = UNSET, kind: ThingKind | Unset = UNSET, match: str | Unset = UNSET, data_mode: DataMode | Unset = UNSET, include_retracted: bool | Unset = UNSET, limit: int | Unset = UNSET, cursor: str | Unset = UNSET, component_ref: str | Unset = UNSET, exclude_components: bool | Unset = UNSET, exclude_infra_shapes: bool | Unset = UNSET, where: Sequence[WherePredicate] | Unset = UNSET, since_repo_seq: int | Unset = UNSET, decode_as: type[PayloadT] | Unset = UNSET, decoder: PayloadDecoder[PayloadT] | Unset = UNSET, extra_headers: ExtraHeaders | Unset = UNSET, extra_query: ExtraQuery | Unset = UNSET, extra_body: ExtraBody | Unset = UNSET)

See SyncThingNamespace.head.

count(*, shape: str | Unset = UNSET, about: str | Unset = UNSET, affirmed_about: str | Unset = UNSET, kind: ThingKind | Unset = UNSET, match: str | Unset = UNSET, include_retracted: bool | Unset = UNSET, resolve_collections: bool | Unset = UNSET, component_ref: str | Unset = UNSET, exclude_components: bool | Unset = UNSET, exclude_infra_shapes: bool | Unset = UNSET, where: Sequence[WherePredicate] | Unset = UNSET, since_repo_seq: int | Unset = UNSET, extra_headers: ExtraHeaders | Unset = UNSET, extra_query: ExtraQuery | Unset = UNSET, extra_body: ExtraBody | Unset = UNSET)

See SyncThingFilterMixin.count.

head_iter(*, shape: str | Unset = UNSET, kind: ThingKind | Unset = UNSET, match: str | Unset = UNSET, data_mode: DataMode | Unset = UNSET, include_retracted: bool | Unset = UNSET, limit: int | Unset = UNSET, cursor: str | Unset = UNSET, component_ref: str | Unset = UNSET, exclude_components: bool | Unset = UNSET, exclude_infra_shapes: bool | Unset = UNSET, where: Sequence[WherePredicate] | Unset = UNSET, decode_as: type[PayloadT] | Unset = UNSET, decoder: PayloadDecoder[PayloadT] | Unset = UNSET, extra_headers: ExtraHeaders | Unset = UNSET, extra_query: ExtraQuery | Unset = UNSET, extra_body: ExtraBody | Unset = UNSET)

See SyncThingNamespace.head_iter.

head_all(*, max_items: int | Unset = UNSET, shape: str | Unset = UNSET, kind: ThingKind | Unset = UNSET, match: str | Unset = UNSET, data_mode: DataMode | Unset = UNSET, include_retracted: bool | Unset = UNSET, limit: int | Unset = UNSET, cursor: str | Unset = UNSET, component_ref: str | Unset = UNSET, exclude_components: bool | Unset = UNSET, exclude_infra_shapes: bool | Unset = UNSET, where: Sequence[WherePredicate] | Unset = UNSET, decode_as: type[PayloadT] | Unset = UNSET, decoder: PayloadDecoder[PayloadT] | Unset = UNSET, extra_headers: ExtraHeaders | Unset = UNSET, extra_query: ExtraQuery | Unset = UNSET, extra_body: ExtraBody | Unset = UNSET)

See SyncThingNamespace.head_all.

get(wref: str, version: int | Unset = UNSET, *, include_retracted: bool | Unset = UNSET, data_mode: DataMode | Unset = UNSET, decode_as: type[PayloadT] | Unset = UNSET, decoder: PayloadDecoder[PayloadT] | Unset = UNSET, extra_headers: ExtraHeaders | Unset = UNSET, extra_query: ExtraQuery | Unset = UNSET, extra_body: ExtraBody | Unset = UNSET)

See SyncThingNamespace.get.