Replies: 1 comment
-
| 
         There are two main ways you can do this, git submodules or python packages. It's up to you on how you prefer to share / maintain the code.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I'd love to know if macros and audits can be installed via a plugin system.
We'd be running multiple SQLmesh instances and would like to share and repeat our macros and audits without having to maintain them multiple times.
Naively I thought about something like the below where macros and audits can have a namespace.
Is this already possible, just differently and I haven't seen yet?
'''
MODEL (
name sushi.items,
audits (plugin_a.assert_item_price_is_not_null)
);
Select * from test limit @plugin_a.size
'''
Beta Was this translation helpful? Give feedback.
All reactions