Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(3)  |  Derive(0)  |  Import(1)

src/r/a/ralph_assets-HEAD/src/ralph_assets/forms.py   ralph_assets(Download)
                'category',
                'model',
                dependency_conditions.Any(),
                AJAX_UPDATE,
                url=reverse('model_dependency_view'),

src/d/j/django-bob-1.6.0/bob/tests/unit/dependencies.py   django-bob(Download)
from django.db.models import Model
 
from bob.forms.dependency_conditions import (
    first_letter_lower,
    format_single_val_for_js,
    def test_python_condition(self):
        any_condition = Any()
        self.assertTrue(any_condition.met("sdf"))
        self.assertTrue(any_condition.met(False))
        self.assertTrue(any_condition.met(3))
    def test_js_format_simple(self):
        any_condition = Any()
        self.assertEqual(any_condition.get_js_format(), ["any"])