beat.web.algorithms.api module¶
-
class
beat.web.algorithms.api.CheckAlgorithmNameView(**kwargs)[source]¶ Bases:
beat.web.common.api.CheckContributionNameViewThis view sanitizes an algorithm name and checks whether it is already used.
-
model¶ alias of
beat.web.algorithms.models.Algorithm
-
Bases:
beat.web.code.api.ShareCodeViewThis view allows to share an algorithm with other users and/or teams
alias of
beat.web.algorithms.models.Algorithm
-
class
beat.web.algorithms.api.ListAlgorithmsView(**kwargs)[source]¶ Bases:
beat.web.common.api.ListContributionViewList all available algorithms
-
model¶ alias of
beat.web.algorithms.models.Algorithm
-
serializer_class¶ alias of
beat.web.algorithms.serializers.AlgorithmSerializer
-
-
class
beat.web.algorithms.api.ListCreateAlgorithmsView(**kwargs)[source]¶ Bases:
beat.web.common.api.ListCreateContributionViewRead/Write end point that list the algorithms available from a given author and allows the creation of new algorithms
-
model¶ alias of
beat.web.algorithms.models.Algorithm
-
serializer_class¶ alias of
beat.web.algorithms.serializers.AlgorithmSerializer
-
writing_serializer_class¶ alias of
beat.web.algorithms.serializers.AlgorithmCreationSerializer
-
namespace= 'api_algorithms'¶
-
-
class
beat.web.algorithms.api.RetrieveUpdateDestroyAlgorithmsView(**kwargs)[source]¶ Bases:
beat.web.code.api.RetrieveUpdateDestroyCodeViewRead/Write/Delete endpoint for a given algorithm
-
model¶ alias of
beat.web.algorithms.models.Algorithm
-
serializer_class¶ alias of
beat.web.algorithms.serializers.FullAlgorithmSerializer
-
-
class
beat.web.algorithms.api.DiffAlgorithmView(**kwargs)[source]¶ Bases:
beat.web.code.api.DiffViewThis view shows the differences between two algorithms
-
model¶ alias of
beat.web.algorithms.models.Algorithm
-
serializer_class¶
-