Another file output, Format:
{
"State": ["lga1", "lga2", "..."]
}
Data:
from typing import Callable, Dict, List | |
from django.db import models | |
class ModelChangeFunc(models.Model): | |
""" | |
Mixin to monitor changes on model fields, | |
and call a function when a change is detected |
Another file output, Format:
{
"State": ["lga1", "lga2", "..."]
}
Data:
from drf_yasg import openapi | |
from drf_yasg.inspectors import SwaggerAutoSchema | |
from drf_yasg.openapi import Schema | |
class BaseSchema(SwaggerAutoSchema): | |
def wrap_schema(self, schema): | |
"""Wrap schema with success, status, message, data and path fields | |
:param schema: Schema to wrap |
@echo off | |
title Sync with Main Branch | |
echo Syncing with Main Branch... | |
@REM accept batch file arguments | |
set /p commitMessage=Commit Message: |
name: Deploy Application | |
on: | |
push: | |
branches: [master] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest |
WITH ForumMembersWithRanked AS ( | |
WITH ForumMembersRanked AS ( | |
SELECT | |
"members".*, | |
"user"."picture" AS "user.picture", | |
ROW_NUMBER() OVER (PARTITION BY "members"."ForumId" ORDER BY "members"."id") AS row_num | |
FROM | |
"ForumMembers" AS "members" | |
LEFT OUTER JOIN |