Exemple #1
0
class PagingSearchListKeyConstructor(DefaultKeyConstructor):
    pagination = DJRF3xPaginationKeyBit()
    search = bits.QueryParamsKeyBit(["search"])
    list_sql_query = bits.ListSqlQueryKeyBit()
    unique_view_id = bits.UniqueViewIdKeyBit()
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_profile")
Exemple #2
0
class DetailKeyConstructor(DefaultKeyConstructor):
    """Keys for a detail api view"""
    format = bits.FormatKeyBit()
    language = bits.LanguageKeyBit()
    retrieve_sql_query = bits.RetrieveSqlQueryKeyBit()
    unique_view_id = bits.UniqueViewIdKeyBit()
    user = bits.UserKeyBit()
Exemple #3
0
class DetailKeyConstructor(DefaultKeyConstructor):
    format = bits.FormatKeyBit()
    language = bits.LanguageKeyBit()
    retrieve_sql_query = bits.RetrieveSqlQueryKeyBit()
    unique_view_id = bits.UniqueViewIdKeyBit()
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_profile")
class PagingListKeyConstructor(DefaultKeyConstructor):
    """Keys for a list api view"""

    pagination = DJRF3xPaginationKeyBit()
    unique_view_id = bits.UniqueViewIdKeyBit()
    list_sql_query = bits.ListSqlQueryKeyBit()
    user = bits.UserKeyBit()
Exemple #5
0
class PagingNotificationListKeyConstructor(DefaultKeyConstructor):
    pagination = DJRF3xPaginationKeyBit()
    search = bits.QueryParamsKeyBit(["search", "ordering", "type"])
    list_sql_query = bits.ListSqlQueryKeyBit()
    unique_view_id = bits.UniqueViewIdKeyBit()
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_notification")
Exemple #6
0
class PagingPrivatePostListKeyConstructor(DefaultKeyConstructor):
    pagination = DJRF3xPaginationKeyBit()
    search = bits.QueryParamsKeyBit(['ordering'])
    list_sql_query = bits.ListSqlQueryKeyBit()
    unique_view_id = bits.UniqueViewIdKeyBit()
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit('api_updated_post')
Exemple #7
0
class HubsPerUserKeyConstructor(KeyConstructor):
    unique_method_id = bits.UniqueMethodIdKeyBit()
    unique_view_id = bits.UniqueViewIdKeyBit()
    format = bits.FormatKeyBit()
    language = bits.LanguageKeyBit()
    query_params = bits.QueryParamsKeyBit()
    pagination = bits.PaginationKeyBit()
    user = bits.UserKeyBit()
Exemple #8
0
class GalleryDetailKeyConstructor(DetailKeyConstructor):
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_gallery")
Exemple #9
0
class PagingImageListKeyConstructor(PagingListKeyConstructor):
    search = bits.QueryParamsKeyBit(['search', 'ordering'])
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit('api_updated_image')
Exemple #10
0
class MyDetailKeyConstructor(DefaultKeyConstructor):
    format = bits.FormatKeyBit()
    language = bits.LanguageKeyBit()
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_profile")
Exemple #11
0
class PagingNotificationListKeyConstructor(DefaultKeyConstructor):
    pagination = DJRF3xPaginationKeyBit()
    search = bits.QueryParamsKeyBit(['search', 'ordering', 'type'])
    list_sql_query = bits.ListSqlQueryKeyBit()
    unique_view_id = bits.UniqueViewIdKeyBit()
    user = bits.UserKeyBit()
Exemple #12
0
class PagingPrivateTopicListKeyConstructor(PagingListKeyConstructor):
    search = bits.QueryParamsKeyBit(['search', 'ordering'])
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit('api_updated_topic')
Exemple #13
0
class RecipeListKeyConstructor(CookingNutritiousListKeyConstructor):
    user = bits.UserKeyBit()
Exemple #14
0
class RecipeRetrieveKeyConstructor(CookingNutritiousRetrieveKeyConstructor):
    user = bits.UserKeyBit()
Exemple #15
0
class ContestTaskListKeyConstructor(DefaultKeyConstructor):
    user_bit = bits.UserKeyBit()
    args_bit = bits.ArgsKeyBit()
    kwargs_bit = bits.KwargsKeyBit()
Exemple #16
0
class PagingNotificationListKeyConstructor(DefaultKeyConstructor):
    pagination = DJRF3xPaginationKeyBit()
    unique_view_id = bits.UniqueViewIdKeyBit()
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_notification")
Exemple #17
0
class PagingParticipantListKeyConstructor(PagingListKeyConstructor):
    search = bits.QueryParamsKeyBit(["ordering"])
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_user_gallery")
Exemple #18
0
class PagingImageListKeyConstructor(PagingListKeyConstructor):
    search = bits.QueryParamsKeyBit(["search", "ordering"])
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_image")
Exemple #19
0
class CurrentUserRetrieveKeyConstructor(KeyConstructor):
    user = bits.UserKeyBit()
    updated_at = UpdatedAtModelKeyBit()
    format = bits.FormatKeyBit()
Exemple #20
0
class MyDetailKeyConstructor(DefaultKeyConstructor):
    format = bits.FormatKeyBit()
    language = bits.LanguageKeyBit()
    user = bits.UserKeyBit()
Exemple #21
0
class PagingPrivateTopicUnreadListKeyConstructor(DefaultKeyConstructor):
    pagination = DJRF3xPaginationKeyBit()
    unique_view_id = bits.UniqueViewIdKeyBit()
    user = bits.UserKeyBit()
Exemple #22
0
class ImageDetailKeyConstructor(DetailKeyConstructor):
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_image")
Exemple #23
0
class PagingPrivateTopicListKeyConstructor(PagingListKeyConstructor):
    search = bits.QueryParamsKeyBit(["search", "ordering"])
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_topic")
Exemple #24
0
class ParticipantDetailKeyConstructor(DetailKeyConstructor):
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_user_gallery")
Exemple #25
0
class PagingPrivatePostListKeyConstructor(PagingListKeyConstructor):
    search = bits.QueryParamsKeyBit(["ordering"])
    user = bits.UserKeyBit()
    updated_at = UpdatedAtKeyBit("api_updated_post")