Giter VIP home page Giter VIP logo

autogen_forjoin's Introduction

Intro

This repo is intended to accompany the Join 2019 presentation 'Programmatically generation of LookML for Flexible Schemas


Associated Libraries and Dependencies? This library primarily uses the two LookML Generators lookml, lkml written by Josh Temple and Henry a lookml cleanup command line tool.

n.b. Currently, lookml_gen is not aligned with the library lookml, I plan to merge the two but as of now there are some additions, such as field level permissioning in lookml_gen that doesn't exist in the lookml library.


Code Samples

These example code samples and outputs are meant to illustrate potential workflows that can exist when programatically generating LookML code for deployment to a Looker Instance.

Example Snippets

  1. Basic view generation using lookml library
  2. Abstracting a custom analysis, in this case period over period analysis
  3. Creating a custom template from an api call to the information schema with hidden fields, extension required
  4. EAV transformation using a derived table and api call to the information schema, with associated field level permissioning
  5. LookML pruner assuming using Henry and lkml

To make api method work

You'll need an ini file that looks like this

host = https://yourinstance.looker.com
client_id = your_client_id
secret = your_secret 
port = your_port(likely 19999)
version = 3.1

autogen_forjoin's People

Contributors

hugoselbie avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

autogen_forjoin's Issues

Security Policy violation Binary Artifacts

This issue was automatically created by Allstar.

Security Policy Violation
Project is out of compliance with Binary Artifacts policy: binaries present in source code

Rule Description
Binary Artifacts are an increased security risk in your repository. Binary artifacts cannot be reviewed, allowing the introduction of possibly obsolete or maliciously subverted executables. For more information see the Security Scorecards Documentation for Binary Artifacts.

Remediation Steps
To remediate, remove the generated executable artifacts from the repository.

First 10 Artifacts Found

  • pycache/api.cpython-37.pyc
  • pycache/lookml_gen.cpython-37.pyc
  • lib/python3.7/site-packages/pycache/easy_install.cpython-37.pyc
  • lib/python3.7/site-packages/lookml/pycache/init.cpython-37.pyc
  • lib/python3.7/site-packages/lookml/pycache/lookml.cpython-37.pyc
  • lib/python3.7/site-packages/pip/pycache/init.cpython-37.pyc
  • lib/python3.7/site-packages/pip/pycache/main.cpython-37.pyc
  • lib/python3.7/site-packages/pip/_internal/pycache/init.cpython-37.pyc
  • lib/python3.7/site-packages/pip/_internal/pycache/basecommand.cpython-37.pyc
  • lib/python3.7/site-packages/pip/_internal/pycache/baseparser.cpython-37.pyc
  • Run a Scorecards scan to see full list.

Additional Information
This policy is drawn from Security Scorecards, which is a tool that scores a project's adherence to security best practices. You may wish to run a Scorecards scan directly on this repository for more details.


Allstar has been installed on all Google managed GitHub orgs. Policies are gradually being rolled out and enforced by the GOSST and OSPO teams. Learn more at http://go/allstar

This issue will auto resolve when the policy is in compliance.

Issue created by Allstar. See https://github.com/ossf/allstar/ for more information. For questions specific to the repository, please contact the owner or maintainer.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.